Meu_projeto/run.py
2025-05-17 19:22:26 -04:00

13 lines
227 B
Python

from app import create_app
from app.database import db
app = create_app()
if __name__ == "__main__":
with app.app_context():
db.create_all()
print("Banco de dados criado")
app.run(debug=True, port=5000)