File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
apps/py/ch12_deployment/server_setup Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ git config --global user.name "Your name"
34
34
# Web app file structure
35
35
mkdir /apps
36
36
chmod 777 /apps
37
- mkdir /apps/logs
38
- mkdir /apps/logs/guitary
39
- mkdir /apps/logs/guitary /app_log
40
- cd /apps
37
+ # mkdir /apps/logs
38
+ # mkdir /apps/logs/gtmeeting
39
+ # mkdir /apps/logs/gtmeeting /app_log
40
+ # cd /apps
41
41
42
42
# Create a virtual env for the app.
43
43
cd /apps
@@ -50,19 +50,21 @@ pip install --upgrade uwsgi
50
50
51
51
# clone the repo:
52
52
cd /apps
53
- git clone https://github.com/talkpython/python-for-dotnet-developers-course app_repo
53
+ git clone https://github.com/JoeRecursionJoe/ gtmeeting
54
+ [email protected] :JoeRecursionJoe/gtmeeting.git
55
+
54
56
55
57
# Setup the web app:
56
58
cd /apps/app_repo/apps/py/ch07_web/
57
59
pip install -r requirements.txt
58
60
59
61
# Copy and enable the daemon
60
- cp /apps/app_repo/apps/py/ch12_deployment/config/guitary .service /etc/systemd/system/guitary .service
62
+ cp /apps/app_repo/apps/py/ch12_deployment/config/gtmeeting .service /etc/systemd/system/gtmeeting .service
61
63
62
64
63
- systemctl start guitary
64
- systemctl status guitary
65
- systemctl enable guitary
65
+ systemctl start gtmeeting
66
+ systemctl status gtmeeting
67
+ systemctl enable gtmeeting
66
68
67
69
# systemctl daemon-reload
68
70
# If you make changes to the service file
You can’t perform that action at this time.
0 commit comments