Skip to content

Repositório guia para alunos do curso de Web Fullstack com Python

Notifications You must be signed in to change notification settings

bgsouza/repo-aula-ecom

Repository files navigation

API Flask

Execução manual

  • Na raiz:
    • $ pipenv --three
    • $ pipenv shell
    • $ export FLASK_APP=main.py
    • $ export FLASK_ENV=development
    • $ flask run

Modo iterativo: - $ flask shell

Flask DB

- Comandos do flask db:
- flask db init: prepara as migrations (models.py)
- flask db migrate: excuta as migrations
- flask db upgrade: envia as alterações no banco de dados

About

Repositório guia para alunos do curso de Web Fullstack com Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published