diff --git a/README b/README index 8cc740d..eba98f6 100644 --- a/README +++ b/README @@ -4,7 +4,7 @@ to edit src: git.... cd ~/src ; # or wherever you want the code to live - git clone git@192.168.0.2:photoassistant + git clone https://git.depaoli.id.au/ddp/photoassistant.git ubuntu packages: @@ -49,10 +49,10 @@ pip3 list | tail -n +3 | grep -v mysqlclient | grep -v duplicity | grep -v gp To run debug version of web server (gunicorn deprecates FLASK_ENV, so co-exist for now): # flask 2.2.2+ (in venv .python) - FLASK_APP=main ENV=development ./.python/bin/flask --debug run --host=192.168.0.2 + FLASK_APP=main ENV=development ./.python/bin/flask --debug run --host=mara.ddp.net to run prod version of web server: - gunicorn --bind="192.168.0.2:5000" --threads=2 --workers=2 main:app + gunicorn --bind="mara.ddp.net:5000" --threads=2 --workers=2 main:app Also have to run the job manager for jobs to work: ENV="development" python3 pa_job_manager.py