commit eb2beade6d5fc2f0998abda7e87bb28e35b8f97d parent 0ebedc9cd4eafbccb9f9aa81f2906b446b3e2d0e Author: nickfarrow <nicholas.w.farrow@gmail.com> Date: Mon, 12 Jul 2021 20:32:29 +1000 Fix launch command to remove eventlet dep Diffstat:
M | README.md | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md @@ -43,7 +43,7 @@ password = "RPCPASSWORD" ### Run SatSale Run SatSale with ``` -gunicorn --preload --worker-class eventlet -w 4 -b 0.0.0.0:8000 satsale:app +gunicorn -w 1 -b 0.0.0.0:8000 satsale:app ``` Gunicorn is a lightweight python HTTP server, alternatively you can run with just `python satsale.py` though this is not recommended for production. @@ -53,7 +53,7 @@ If running on a Raspberry Pi, you will want to [forward port 8000 in your router You will want to run gunicorn with nohup so it continues serving in the background: ``` -nohup gunicorn --preload --worker-class eventlet -w 4 0.0.0.0:8000 satsale:app > log.txt 2>&1 & +nohup gunicorn -w 1 0.0.0.0:8000 satsale:app > log.txt 2>&1 & tail -f log.txt ```