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
Release files for Flask-Project 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Flask-Project-0.1.1.tar.gz | 381.7 kB | Details |
Release files / Flask-Project-0.1.1.tar.gz
| Download URL | Flask-Project-0.1.1.tar.gz |
|---|---|
| Size | 381.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aef48d99c23a9dbaf41a46b57837aafbcef271f9c2170536eb6fc87c9de4ea99
|
|
BLAKE2b-256 checksum How to use checksums |
627831c32466262960ebc0d39ea262810d1c78c3f3db9ecdaa84d8c69ba99ab8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |