SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9e85b47448281c362e595955743144b2136d7b1b
parent 5eb16b2a73235a34bc6ee0cda6251c0fc314e859
Author: nickfarrow <nick@nickfarrow.com>
Date:   Sat, 22 May 2021 18:25:56 +1000

Fix run command

Diffstat:
MREADME.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 --worker-class eventlet -w 1 -b 0.0.0.0:8000 server:app +gunicorn --worker-class eventlet -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 --worker-class eventlet -w 1 -b 0.0.0.0:8000 server:app > log.txt 2>&1 & +nohup gunicorn --worker-class eventlet -w 1 -b 0.0.0.0:8000 satsale:app > log.txt 2>&1 & tail -f log.txt ```