-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7e94e9
commit 4d3d6c2
Showing
12 changed files
with
109 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
DEBUG=True | ||
|
||
FLASK_APP=run.py | ||
FLASK_ENV=development | ||
FLASK_DEBUG=1 | ||
|
||
ASSETS_ROOT=/static/assets | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.9 | ||
FROM python:3.10 | ||
|
||
# set environment variables | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
# exit on error | ||
set -o errexit | ||
|
||
python -m pip install --upgrade pip | ||
|
||
pip install -r requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
services: | ||
- type: web | ||
name: flask-light-bootstrap | ||
plan: starter | ||
env: python | ||
region: frankfurt # region should be same as your database region. | ||
buildCommand: "./build.sh" | ||
startCommand: "gunicorn run:app" | ||
envVars: | ||
- key: SECRET_KEY | ||
generateValue: true | ||
- key: WEB_CONCURRENCY | ||
value: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
flask==2.0.2 | ||
Werkzeug==2.0.3 | ||
jinja2==3.0.2 | ||
flask_login==0.5.0 | ||
flask_migrate==3.1.0 | ||
WTForms==3.0.0 | ||
flask_wtf==1.0.0 | ||
flask_sqlalchemy==2.5.1 | ||
sqlalchemy==1.4.29 | ||
email_validator==1.1.3 | ||
gunicorn==20.1.0 | ||
flask-restx==0.5.1 | ||
flask==2.2.5 | ||
Werkzeug==2.3.7 | ||
jinja2==3.1.2 | ||
flask-login==0.6.2 | ||
flask_migrate==4.0.4 | ||
WTForms==3.0.1 | ||
flask_wtf==1.2.1 | ||
flask-sqlalchemy==3.0.5 | ||
sqlalchemy==2.0.21 | ||
email_validator==2.0.0 | ||
flask-restx==1.1.0 | ||
|
||
python-dotenv==0.19.2 | ||
|
||
gunicorn==20.1.0 | ||
Flask-Minify==0.37 | ||
|
||
# flask_mysqldb | ||
# psycopg2-binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters