from app import frontend_app, backend_app from config import SINGIF_IS_LIVE if __name__ == "__main__": if SINGIF_IS_LIVE: frontend_app.run() backend_app.run() else: frontend_app.run(debug=True) backend_app.run(debug=True)
#!/usr/bin/env python3 from app import backend_app if __name__ == '__main__': backend_app.run()