SatSale

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

commit 6a4580483cf47ff9f95377f8f6c80dda47c74756
parent 06946b659d1392721e663274f8f733c132c29514
Author: nickfarrow <nick@nickfarrow.com>
Date:   Sat, 22 May 2021 18:30:33 +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 ```