|
|
1 year ago | |
|---|---|---|
| .. | ||
| static | 1 year ago | |
| templates | 1 year ago | |
| README.md | 1 year ago | |
| __init__.py | 1 year ago | |
| auth.py | 1 year ago | |
| basededatos.py | 1 year ago | |
| models.py | 1 year ago | |
| paginas.py | 1 year ago | |
| reservas.py | 1 year ago | |
| schema.sql | 1 year ago | |
https://www.digitalocean.com/community/tutorials/how-to-add-authentication-to-your-app-with-flask-login
en el entorno export FLASK_APP=padel flask shell
en la shell de flask
from padel import db, create_app, models db.create_all()
pip freeze > requirements.txt
https://www.freecodecamp.org/news/how-to-dockerize-a-flask-app/