ianchen06 / techin510-sp24-lab9

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mobile Web App

Getting Started

python -m venv venv
source venv venv
pip install -r requirements.txt

cp .env.sample .env

# Make changes in .env

# If it is the first time
flask db upgrade

./start.sh

Topics

  1. Layout
  2. Data fetching and rendering
  3. Data visualization
  4. Forms
  5. Authentication
  6. JavaScript

Deploy to Production

This app uses gunicorn as the production wsgi server

Put the following command in Azure Web App, Settings > Configuration > Startup Command

gunicorn -b :5001 --access-logfile - --error-logfile - app:app

About


Languages

Language:Python 64.4%Language:HTML 29.3%Language:Mako 4.1%Language:Shell 2.1%