From 8c8a49053a91b1bb7b2d78da3759e9c37c82c778 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 21 Feb 2022 11:02:39 +0000 Subject: [PATCH] tilecache folder --- docs/setup-dev-environment.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/setup-dev-environment.md b/docs/setup-dev-environment.md index 0bece44f..2508a346 100644 --- a/docs/setup-dev-environment.md +++ b/docs/setup-dev-environment.md @@ -255,9 +255,17 @@ Re-run the remaining migrations in `../migrations` to create the rest of the dat Now we are ready to run the application. The `APP_COOKIE_SECRET` is arbitrary. -First `cd ./colouring-london/app`, then: +First enter the app directory. -`PGPASSWORD= PGDATABASE= PGUSER= PGHOST=localhost PGPORT=5432 APP_COOKIE_SECRET=123456 TILECACHE_PATH=/path/to/tilecache/directory npm start` +`cd ./colouring-london/app` + +Then create a folder for the tilecache. + +`mkdir tilecache` + +Finally, run the application. + +`PGPASSWORD= PGDATABASE= PGUSER= PGHOST=localhost PGPORT=5432 APP_COOKIE_SECRET=123456 TILECACHE_PATH=./colouring-london/app/tilecache npm start` If you a running Ubuntu in a virtual environment you will need to configure networking to forward ports from the guest to the host. For Virtual Box the following was configured under