Skip to main content

Flask Project Template

Project description

flask_template

templates used to fast create flask project.

install

pip install flask_template

usage

flasktemplate create [-t simple] project_name

will create a flask project directory named after project_name on current path.

flasktemplate list will list current supported templates.

normal project initial usage flow:

  1. cd {project_name}
  2. pyenv virtualenv {python_version} {virtualenv_name}
  3. pyenv activate {virtualenv_name}
  4. modify SQLALCHEMY_DATABASE_URI with correct database account and database name
  5. design and develop models and migrate, apply them into database with:
    1. python manage.py db migrate
    2. python manage.py db upgrade
  6. design develop apis

update logs

0.4.2

  1. update requirements
  2. fix bugs

0.4.1

  1. modify config.py;

  2. format by pycodestyle;

0.4

  1. add migrations directory,modify env.py script to support alembic:include, alembic:exclude options in alembic.ini to limit alembic dectecting tables;

  2. fix some typo;

Project details


Download files

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

Files for flask-template, version 0.4.2
Filename, size File type Python version Upload date Hashes
Filename, size flask_template-0.4.2.tar.gz (12.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page