Add example run to README

This commit is contained in:
Tom Russell 2019-06-07 13:21:44 +01:00
parent 39a4fbcbbf
commit 4f16130d47

View File

@ -31,6 +31,19 @@ for download under a liberal open data license
1. Run tests: `npm test` 1. Run tests: `npm test`
1. Run app: `npm start` 1. Run app: `npm start`
In development, run with environment variables:
```bash
APP_COOKIE_SECRET=test_secret \
PGHOST=localhost \
PGUSER=dbuser \
PGDATABASE=dbname \
PGPASSWORD=dbpassword \
PGPORT=5432 \
TILECACHE_PATH=/path/to/tilecache/directory \
npm start
```
## Acknowledgements ## Acknowledgements
Colouring London is being designed and built by the Centre for Advanced Spatial Colouring London is being designed and built by the Centre for Advanced Spatial