Simon Bowie 4861f6cf10 Added models for examples and practices | 3 lat temu | |
---|---|---|
web | 3 lat temu | |
.env.dev | 3 lat temu | |
.gitignore | 3 lat temu | |
README.md | 3 lat temu | |
docker-compose.prod.yml | 3 lat temu | |
docker-compose.yml | 3 lat temu |
To build the database run:
docker exec -it python python
from project import db, create_app, models
db.create_all(app=create_app())