Skip to content

Commit 5088f89

Browse files
committed
Allow configure without running for uWSGI.
1 parent 13100c9 commit 5088f89

File tree

1 file changed

+6
-0
lines changed
  • app/ch15_deploy/starter/pypi_org

1 file changed

+6
-0
lines changed

app/ch15_deploy/starter/pypi_org/app.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@ def main():
1616

1717

1818
def configure():
19+
print("Configuring Flask app:")
20+
1921
register_blueprints()
22+
print("Registered blueprints")
23+
2024
setup_db()
25+
print("DB setup completed.")
26+
print("", flush=True)
2127

2228

2329
def setup_db():

0 commit comments

Comments
 (0)