From 4f16130d47ed9217d09ab5c4236d4097fa42b06a Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Fri, 7 Jun 2019 13:21:44 +0100 Subject: [PATCH] Add example run to README --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index e1181688..1cd75122 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,19 @@ for download under a liberal open data license 1. Run tests: `npm test` 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 Colouring London is being designed and built by the Centre for Advanced Spatial