mirror of
https://github.com/TakeusV1/flask_ipam.git
synced 2026-10-13 17:15:33 +02:00
2 files changed
+4
-5
No files matched your search
+1
-1
@@ -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 :<br>
|
||||
`ExecStart=/var/www/fipam/bin/gunicorn --workers 1 --bind unix:fipam.sock -m 007 'app:create_app()'`<br>
|
||||
`ExecStart=/YOUR_ENV_LOCATION/bin/gunicorn --workers 1 --bind unix:fipam.sock -m 007 'app:create_app()'`<br>
|
||||
_(Adjust the number of workers to your needs)_
|
||||
- you must first run setup.py to create the admin user.<br>
|
||||
_(it will create a second database in `./var/setup-instance`. It will have to be merged in the application database in `./var/app-instance`)_
|
||||
+3
-4
@@ -1,14 +1,13 @@
|
||||
# Sources
|
||||
---
|
||||
### Images
|
||||
logo : https://www.flaticon.com
|
||||
|
||||
### CSS
|
||||
Bootstrap : https://getbootstrap.com
|
||||
themes : https://bootswatch.com
|
||||
Bootstrap : https://getbootstrap.com<br>
|
||||
themes : https://bootswatch.com<br>
|
||||
icons : https://icons.getbootstrap.com
|
||||
|
||||
### JS
|
||||
|
||||
HTMX : https://htmx.org
|
||||
HTMX : https://htmx.org<br>
|
||||
CHARTJS : https://www.chartjs.org
|
||||
Reference in new issue
Block a user