summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-02 17:08:25 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-02 17:08:25 +0200
commitf3ee156c6fdfad883ac0a3849f82ff2252becebb (patch)
tree8f87ab4bc108848ca98d3d6122da2229ff6e20d9 /README.md
parent75ff985533fdbd7ea7d8ae564ce2525fb71cca1d (diff)
readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
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
+```
+