summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-02 17:24:58 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-02 17:24:58 +0200
commitb6094034267792995884dc24f19c6d6ab15e91a4 (patch)
tree046387e59f9a5ee265ef779a7125fd1f315aa851 /README.md
parentf3ee156c6fdfad883ac0a3849f82ff2252becebb (diff)
trying to make proxy saner...
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 3 insertions, 7 deletions
diff --git a/README.md b/README.md
index cd618e0..c6e6663 100644
--- a/README.md
+++ b/README.md
@@ -47,15 +47,11 @@ 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.
+To run the proxy with all debug and cache options on:
```
-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
+npm run proxy
+PROXY_REMOTE=example.asdf.us npm run proxy
```
Then run the server as usual: