Skip to content

Commit 4105e00

Browse files
main run opengeodeweb_back
1 parent 52979c4 commit 4105e00

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/opengeodeweb_back/app.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,10 @@ def run_server(app: Flask) -> None:
178178
port=args.port,
179179
ssl_context=app.config.get("SSL"),
180180
)
181+
182+
# ''' Main '''
183+
if __name__ == "__main__":
184+
app = create_app(__name__)
185+
register_ogw_back_blueprints(app)
186+
run_server(app)
181187
print("Server stopped", flush=True)

0 commit comments

Comments
 (0)