diff options
| -rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 +``` + |
