From 02df3a3aca16c1e4443ecc204aef56db11b830c8 Mon Sep 17 00:00:00 2001 From: Takeus <68923554+TakeusV1@users.noreply.github.com> Date: Wed, 26 Mar 2025 10:44:26 +0100 Subject: [PATCH] Update install.md --- install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.md b/install.md index 3b16252..f5886da 100644 --- a/install.md +++ b/install.md @@ -5,7 +5,7 @@ https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications - You don't need to create `wsgi.py`, when asked, replace : `wsgi:app` with `'app:create_app()'` . - EX : For starting APP with gunicorn : `gunicorn --bind 0.0.0.0:5000 'app:create_app()'` - In Service File, replace "ExecStart" line with :
-`ExecStart=/var/www/fipam/bin/gunicorn --workers 1 --bind unix:fipam.sock -m 007 'app:create_app()'`
+`ExecStart=/YOUR_ENV_LOCATION/bin/gunicorn --workers 1 --bind unix:fipam.sock -m 007 'app:create_app()'`
_(Adjust the number of workers to your needs)_ - you must first run setup.py to create the admin user.
_(it will create a second database in `./var/setup-instance`. It will have to be merged in the application database in `./var/app-instance`)_