-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathserver.py
More file actions
26 lines (20 loc) · 839 Bytes
/
Copy pathserver.py
File metadata and controls
26 lines (20 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from app import app
from app.controllers.users import users
from app.controllers.therapist import therapist
from app.controllers.publications import publications
from app.controllers.articles import articles
from app.controllers.page import page
from app.controllers.patients import patients
from app.controllers.messages import messages
app.register_blueprint(users)
app.register_blueprint(therapist)
app.register_blueprint(publications)
app.register_blueprint(articles)
app.register_blueprint(page)
app.register_blueprint(patients)
app.register_blueprint(messages)
# if __name__ == "__main__":
# app.run(debug=True)
# Nota para Kayla: copio este mismo que el anterior, pero con el puerto 8.000 porque por alguna razón en mi pc no funciona el otro
if __name__ == "__main__":
app.run(debug=True, host="0.0.0.0", port=8000)