This simple Flask server was made to be a simple template for testing javascript apps, ajax calls, etc..
The necessary libraries are listed in requirements.txt
. After setting up and activating
a new virtual environment (or living
dangerously!), run pip -r requirements.txt
to install them.
Set up the database by running db_create.py
from the project directory. Replace templates/index.html
with whatever page you want to test. Put static files in templates/_
, or change the static_folder
argument when initializing Flask in app.py
.
To start the server, run app.py
.