-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes after running the webserver locally
- Loading branch information
Showing
7 changed files
with
2,777 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Submodule ecwid_shiprocket_app
added at
99b92a
Oops, something went wrong.