From 5fa35b90ebff6892365acb746c8054a3d1a416d8 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Tue, 19 Aug 2025 20:17:31 +1000 Subject: [PATCH] updated to reflect move from hard-coded ip to FQDN and using gitea (on git.depaoli.id.au) instead of local git on mara --- README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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