Skip to content

seunb/rottenpotatoes

 
 

Repository files navigation

Dependencies

poetry Ref. https://python-poetry.org

Install Dependencies

poetry install

Run App

poetry run flask --app app/webapp run or poetry shell flask --app app/webapp run

Run Flask Shell

poetry run flask --app app/webapp shell

Or poetry shell export FLASK_APP=app.webapp flask run

Admin DB

Ref. https://flask-migrate.readthedocs.io/en/latest/

Create a initial migration repository

flask db init flask db migrate -m "Initial migration." flask db upgrade

export FLASK_APP=app.webapp flask seed movies flask seed users

After updating the model

flask db upgrade

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 62.0%
  • Jinja 36.3%
  • Mako 1.3%
  • CSS 0.4%