A simple tool to help you setup a flask project quickly
Project description
flask-setup
Flask Setup Tool
INSTALLATION
$ pip install flask-setup
USAGE
- run an fs command:
$ fs command argument
COMMANDS
-
build: Build a project with given name.
$ fs build projectname
-
add: Takes blueprint name e.g.
$ fs add api ..fields
this will add a blueprint with the name 'api' and given model fields -
remove: Takes blueprint name e.g.
$ fs remove api
this will remove the blueprint with the name 'api' -
copy: Takes blueprint name e.g.
$ fs copy bp_to_copy bp_to_paste
this will copy the blueprint with the name 'bp_to_copy' to 'bp_to_paste' -
install: pass this alongside a module e.g.:
$ fs install flask
this will install flask and freeze to requirements file -
uninstall: pass this alongside a module e.g.:
$ fs uninstall flask
this will uninstall flask and freeze to requirements file -
destroy: This will destroy the current project e.g.:
$ fs destroy
-
init: Initializes fs on an existing project with similar setup e.g.:
$ fs init
this will create a .fs file in the root directory of the project -
start: Starts the server e.g.:
$ fs start
this will start the server
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for flask_setup-0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb6232223ae49ba5e74f9ddc455dd9ce583fda747f7aa332da9509b3a98999d2 |
|
MD5 | 152048ac1d4b30015c2422407db226de |
|
BLAKE2b-256 | 7c898720bf49806ae576ca3748439b518e81087dbef6c38ddd8897cd30b7ea7b |