You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a Python web app using the Flask framework and the Azure Database for PostgreSQL relational database service. The Flask app is hosted in a fully managed Azure App Service. This app is designed to be be run locally and then deployed to Azure. For more information on how to use this web app, see the tutorial [Deploy a Flask web app with PostgreSQL in Azure](TBD).
3
+
This is a Python web app using the Flask framework and the Azure Database for PostgreSQL relational database service. The Flask app is hosted in a fully managed Azure App Service. This app is designed to be be run locally and then deployed to Azure. For more information on how to use this web app, see the tutorial [Deploy a Django/Flask web app with PostgreSQL in Azure](TBD).
4
4
5
-
If you need an Azure account, you can [create on for free](https://azure.microsoft.com/en-us/free/).
6
-
7
-
Temporary instructions for running:
8
-
9
-
* clone
10
-
* specify .env variables based off of .env.example
11
-
* py -m venv .venv
12
-
* .venv\scripts\activate
13
-
* pip install -r requirements.txt
14
-
* flask db init and flask db migrate -m "first migration" (roughly equivalent to django "python manage.py migrate")
15
-
* flask run (equivalent to django "python manage.py runserver")
16
-
17
-
To do:
18
-
19
-
* investigate /admin functionality with Flask-Admin
20
-
* handle 500 error in production
21
-
* move app.py to root folder to avoid need for startup.txt (command) and one less step, [details](https://docs.microsoft.com/en-us/azure/developer/python/tutorial-deploy-app-service-on-linux-04#flask-startup-commands)
5
+
If you need an Azure account, you can [create on for free](https://azure.microsoft.com/en-us/free/).
0 commit comments