diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 17:08:25 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 17:08:25 +0200 |
| commit | f3ee156c6fdfad883ac0a3849f82ff2252becebb (patch) | |
| tree | 8f87ab4bc108848ca98d3d6122da2229ff6e20d9 /README.md | |
| parent | 75ff985533fdbd7ea7d8ae564ce2525fb71cca1d (diff) | |
readme
Diffstat (limited to 'README.md')
| -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 +``` + |
