stephenthoma / flask-jumpstart

A skeleton application for Flask and Angular.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask Jumpstart

Fork of natehefner's skeleton application with some very opinionated changes. Enables quickly starting development of web-applications with a Flask + Angular stack.

Extensions

Installation

Instructions for getting up and running in an OS X environment with virtualenvwrapper

Clone the project:

git clone https://github.com/sthoma/flask-jumpstart.git

Set up a virtual environment:

cd flask-jumpstart
mkvirtualenv jumpstart

Install requirements:

pip install -r requirements/dev.txt

Run the development webserver:

python manage.py runserver

View it in your browser:

http://localhost:5000

Secret keys can be stored in an .env-vars file which the manage.py script will load into the Python environment at run-time. The file should be in the format:

FLASK_CONFIG=development
SECRET_KEY=hunter2

Testing

Tests for the Flask backend can be run using:

python manage.py test [--coverage]

License

  • No Warranty Expressed or Implied. Sofware is as is.
  • MIT License

About

A skeleton application for Flask and Angular.js

License:MIT License


Languages

Language:Python 52.0%Language:JavaScript 47.8%Language:CSS 0.2%