A Flask-based webshop with pjax.
Flask is a BSD-licensed microframework for Python based on Werkzeug, Jinja2 and good intentions.
See http://flask.pocoo.org for more info.
- Download this repository via
git clone git@github.com:hobbyhobbit/Stock.git
TODO: mention makefile
- Add the secret keys for CSRF protection by running the
generate_keys.py
script atsrc/application/generate_keys.py
, which will generate the secret keys module at src/application/secret_keys.py
Add the following to your .(git|hg|bzr)ignore file to keep the secret keys out of version control:
# Keep secret keys out of version control secret_keys.py
The local dev environment requires installation of Jinja2, PIL, and simplejson, which can be installed via:
pip install -r requirements_dev.txt
To run the application using WSGI:
...
See licenses/ folder
Project based on the Flask on App Engine Project Template by Kamal Gill
Font Awesome by Dave Gandy
Pjax by Chris Wanstrath
Teacher illustration by Wilhelm Busch (Public domain), via Wikimedia Commons