From f3ee156c6fdfad883ac0a3849f82ff2252becebb Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 2 Jun 2018 17:08:25 +0200 Subject: readme --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 67b076d..cd618e0 100644 --- a/README.md +++ b/README.md @@ -44,3 +44,23 @@ NODE_ENV=production npm install ./node_modules/knex/bin/cli.js migrate:latest pm2 --name lens start npm -- run server ``` + +### Local proxy + +Add the following to your `.env` to proxy to an intermediary server, which will then act as the database. + +``` +RELAY_REMOTE=http://spawn.asdf.us/client +PROXY_REMOTE=spawn.asdf.us +EXPRESS_CONNECTS_TO_RELAY=true +CACHE_SYSCALLS=true +PROXY_CACHE=true +DEBUG_PROXY=true +``` + +Then run the server as usual: + +``` +npm run server +``` + -- cgit v1.2.3-70-g09d2