Skip to content

Commit ec0041f

Browse files
committed
Added path for plain web app.
1 parent 20460bf commit ec0041f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

apps/py/ch07_web/guitary/app.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
import os
2+
import sys
3+
4+
folder = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
5+
sys.path.insert(0, folder)
6+
17
import flask
28
from guitary.services import catalog_service
39

apps/py/ch12_deployment/server_setup/server_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pip install --upgrade uwsgi
5050

5151
# clone the repo:
5252
cd /apps
53-
git clone https://github.com/mikeckennedy/python-for-dotnet-developers-materials app_repo
53+
git clone https://github.com/talkpython/python-for-dotnet-developers-course app_repo
5454

5555
# Setup the web app:
5656
cd /apps/app_repo/apps/py/ch07_web/

0 commit comments

Comments
 (0)