LEINLS3X55PB6TSCNC5RVMDMV56XHTV4MNDUC42H7DDFMPDYUNTAC WVVD2KC4XQMXZ4AXDV3J4647NRNRKS7OIKMW5YEO7QTP5UXFLOVQC 7VGYLTMURLVSVUYFW7TCRZTDQ6RE2EPSPPA43XKHDOBFWYVVSJHQC DXIGERDTERUIG7QHHRPKTSJHSQEPJPDJVLUW7YVC7URXBQ4ZJVOAC ADMKQQGCGVSHHIMVQ4XFRDCG544SBJCYALSKZV45CQQBZ4ACUH2AC AXKKXBWN4EMUOLV43WN52JSKJPBV7TLSGLNJW5EZXHSJNKCYUWOQC 4ZLEDBK7VGLKFUPENAFLUJYNFLKFYJ3TREPQ7P6PKMYGJUXB55HQC XZLSHL4DE6B5OEJVXALEYXY5JY2EJYUL2SSUJEGMNX65Y6JRJJUAC E2KOBKIJ2QMMC77UYNURGCTDGAIIRMBJNG7BMVLSFFPK5RAZ7KFAC 2WOOGXDHVQ6L2MQYUTLJ6H6FVSQNJN6SMJL5DG7HAHFYPJLRT2SAC site_key.txt
Deployment==========At present, the aftok software is deployed on a DigitalOcean virtual machine.The deployment architecture is relatively unsophisticated; both thedocker engine and a postgres server are running directly on the host VM,and all other services are provided by containers.Configuration files for container-based services are stored on thehost vm under `/opt/containers/<container-name>` and are mountedinto the appropriate containers as part of the `docker run` invocationsthat are used to run the containers. A high-priority objective is tosimplify this setup by using `docker compose` to orchestrate thecontainers, and to containerize the postgres server and data.Docker Hub----------Configuration-free images containing the aftok server application is hosted ondockerhub at nuttycom/aftok. To push a new version:~~~{bash}docker build -t nuttycom/aftok:$(git describe)~~~Manual Setup------------See `deploy/setup.sh` for a complete list of the operations that wereperformed manually on the vm to get the aftok.com server up and running.
build-container:docker build -t aftok/aftok:latest .run-local-docker:docker run --net=host -it -v /home/nuttycom/projects/aftok/docker-conf/:/etc/aftok aftok/aftok:latest
Description: (Describe migration here.)Created: 2016-10-29 20:54:59.060159 UTCDepends: 2016-10-13_05-36-55_user-event-logApply: |ALTER TABLE auctions ADD COLUMN created_at timestamp with time zone not null;ALTER TABLE auctions ADD COLUMN start_time timestamp with time zone not null;Revert: |ALTER TABLE auctions DROP COLUMN start_time;ALTER TABLE auctions DROP COLUMN created_at;