Skip to content
This repository has been archived by the owner on Aug 4, 2019. It is now read-only.

bskp/Stock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock

A Flask-based webshop with pjax.

About Flask

Flask is a BSD-licensed microframework for Python based on Werkzeug, Jinja2 and good intentions.

See http://flask.pocoo.org for more info.

Setup/Configuration

  1. Download this repository via git clone git@github.com:hobbyhobbit/Stock.git

TODO: mention makefile

  1. Add the secret keys for CSRF protection by running the generate_keys.py script at src/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

Install python dependencies

The local dev environment requires installation of Jinja2, PIL, and simplejson, which can be installed via:

  pip install -r requirements_dev.txt

Start the Application

To run the application using WSGI:

 
    ...    

Licenses

See licenses/ folder

Package Version

Credits

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