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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2258aa6b5ab36afcb97ee142b9e6c4f422cd8c0124c14436e44e25e78e4a750c |
|
MD5 | 21a7ed5f354271274fb93727da2a24a4 |
|
BLAKE2b-256 | 3cf77e5eab2f966d60ba1410d98e904b07ea5198d146a1eaac22af2928f1e1a8 |