v1.1.0 - 2017/10/06 - Authentication token mandatory
Features:
- Allow clients to override default timestamp while creating transactions.
Improvements:
- Ensure static authentication token is set in the environment while server starts.
Bug Fixes:
[NIL]
Deployment Guide:
-
Set the following environmental variables:
- Port in which the Ledger server should run
export PORT=7000
- Database URL of the Ledger
export DATABASE_URL="postgres://USERNAME:PASSWORD@HOST:PORT/DB_NAME"
- Set the path of migration files
export MIGRATION_FILES_PATH="file:///go/src/github.com/RealImage/QLedger/migrations/postgres"
- Set the host prefix, if path based routing is needed for sharing the load balancer
export HOST_PREFIX="/qledger/api"
- Set the authentication token to a random string
export LEDGER_AUTH_TOKEN=<RANDOM STRING>
- Port in which the Ledger server should run
-
Build and run the docker using Dockerfile.