summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+```
+