Fixed windows side packages; changed start script to scripts...
This commit is contained in:
parent
e9bc0c6837
commit
4f076b9497
|
@ -0,0 +1,9 @@
|
|||
Click==7.0
|
||||
Flask==1.1.1
|
||||
Flask-SQLAlchemy==2.4.1
|
||||
itsdangerous==1.1.0
|
||||
Jinja2==2.10.3
|
||||
MarkupSafe==1.1.1
|
||||
SQLAlchemy==1.3.11
|
||||
waitress==1.4.3
|
||||
Werkzeug==0.16.0
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
|
||||
function main() {
|
||||
source "../bin/activate"
|
||||
source "../venv/bin/activate"
|
||||
# Note can replace 127.0.0.1 with 0.0.0.0 to make it 'network/internet' accessable...
|
||||
gunicorn wsgi:app -b 127.0.0.1:4040 # <module>:<app> IE <file>:<flask app variable>
|
||||
gunicorn wsgi:app -b 127.0.0.1:8080 # <module>:<app> IE <file>:<flask app variable>
|
||||
}
|
||||
main $@;
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
# set -o xtrace ## To debug scripts
|
||||
# set -o errexit ## To exit on error
|
||||
# set -o errunset ## To exit if a variable is referenced but not set
|
||||
|
||||
|
||||
function main() {
|
||||
source "../venv/Scripts/activate"
|
||||
# Note can replace 127.0.0.1 with 0.0.0.0 to make it 'network/internet' accessable...
|
||||
waitress-serve --listen=127.0.0.1:8080 wsgi:app # <module>:<app> IE <file>:<flask app variable>
|
||||
}
|
||||
main $@;
|
Loading…
Reference in New Issue