cachureros-back

PYTHON
Flask
$ Pip install pipenv
$ Python -m pip install --upgrade pip

#Create file Pipfile
$ pipenv shell (cria/inicia ambiente virtual)

$ pipenv install flask flask-sqlalchemy flask-script flask-migrate flask-cors

$ pipenv run init
$ pipenv run migrate
$ pipenv run upgrade
$ pipenv run start

or

$ python src/app.py db init
$ python src/app.py db migrate
$ python src/app.py db upgrade
$ python src/app.py runserver