From b6094034267792995884dc24f19c6d6ab15e91a4 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 2 Jun 2018 17:24:58 +0200 Subject: trying to make proxy saner... --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'README.md') 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: -- cgit v1.2.3-70-g09d2