Skip to main content

Flask project template generator.

Project description

Latest Version The MIT License

Flask web project template generator. Inspired by Flask-Boost.

Installation

pip install Flask-Project

Usage

create project

flask-project new template_name> <project_name>

Install requirements

cd to project root path, run:

virtualenv venv
. venv/bin/active
pip install -r requirements.txt

prepare database

Create database and update SQLALCHEMY_DATABASE_URI in config/development.py as needed.

Then init tables:

python manage.py prepare_db
python manage.py add_user -uhyperwood -ehyperwood.yw@gmail.com -ppassword -rAdministrator

Setup Local Env.

setup python path and profile:

copy scripts/env.local.template.sh env.local.sh

Run app

Run test server:

./test_run.sh

Project details


Release history Release notifications

This version
History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Flask-Project-0.1.1.tar.gz (381.7 kB) Copy SHA256 hash SHA256 Source None Dec 15, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page