Skip to content

Commit

Permalink
Changes after running the webserver locally
Browse files Browse the repository at this point in the history
  • Loading branch information
KBA07 committed May 30, 2023
1 parent 1f055af commit 9835102
Show file tree
Hide file tree
Showing 7 changed files with 2,777 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "ecwid_shiprocket_app"]
path = ecwid_shiprocket_app
url = [email protected]:KBA07/ecwid-shiprocket-app.git
[submodule "fynd_imdb"]
path = fynd_imdb
url = [email protected]:KBA07/fynd-imdb.git
18 changes: 18 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import os, sys

# Adding the path in the system to fix the python path
sys.path.append(os.path.join(os.getcwd(), 'ecwid_shiprocket_app'))
sys.path.append(os.path.join(os.getcwd(), 'fynd_imdb'))

from ecwid_shiprocket_app.webapp import create_flask_app
from fynd_imdb.webapp import register_flask_blueprint


if __name__ == "__main__":
# Here the app is the connexion app which can be used to add Open API spec yamls
app = create_flask_app()

# Here the app.app is the flask app which can be used to add flask app
register_flask_blueprint(app.app, False)

app.run(port=8081, debug=True)
1 change: 1 addition & 0 deletions ecwid_shiprocket_app
Submodule ecwid_shiprocket_app added at 99b92a
1 change: 1 addition & 0 deletions fynd_imdb
Submodule fynd_imdb added at b859ea
Loading

0 comments on commit 9835102

Please sign in to comment.