cloud-fog-service-broker/cfsb-backend/app.py
jmarchel 40d9f11047 Use env vars in front and back end projects
Change-Id: Id093976032f079c62efd9fcaaf0617e05ceef3b0
2024-04-02 08:00:18 +00:00

10 lines
309 B
Python

from app_factory import create_app
from activemq import start_exn_connector_in_background
from app_factory import create_app # Import your Flask app factory
app = create_app()
# Start the EXN connector in the background
start_exn_connector_in_background()
if __name__ == '__main__':
app.run(debug=True)