Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/machow/flask-template
https://github.com/machow/flask-template
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/machow/flask-template
- Owner: machow
- Created: 2014-01-22T05:59:46.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-22T06:03:14.000Z (almost 11 years ago)
- Last Synced: 2024-10-14T13:28:55.687Z (3 months ago)
- Language: Python
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Flask Test Server
========================
This simple [Flask](http://flask.pocoo.org/) server was made to be a simple template for testing javascript
apps, ajax calls, etc..Dependencies
----------------------
The necessary libraries are listed in `requirements.txt`. After setting up and activating
a new [virtual environment](http://www.virtualenv.org/en/latest/virtualenv.html) (or living
dangerously!), run `pip -r requirements.txt` to install them.Setup
-----------------------
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`.Running
-----------------------
To start the server, run `app.py`.