Skip to content

Commit 9c6b39d

Browse files
Update gtmeetingsetup.sh
1 parent ac917c6 commit 9c6b39d

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

apps/py/ch12_deployment/server_setup/gtmeetingsetup.sh

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ git config --global user.name "Your name"
3434
# Web app file structure
3535
mkdir /apps
3636
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
4141

4242
# Create a virtual env for the app.
4343
cd /apps
@@ -50,19 +50,21 @@ pip install --upgrade uwsgi
5050

5151
# clone the repo:
5252
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+
5456

5557
# Setup the web app:
5658
cd /apps/app_repo/apps/py/ch07_web/
5759
pip install -r requirements.txt
5860

5961
# 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
6163

6264

63-
systemctl start guitary
64-
systemctl status guitary
65-
systemctl enable guitary
65+
systemctl start gtmeeting
66+
systemctl status gtmeeting
67+
systemctl enable gtmeeting
6668

6769
# systemctl daemon-reload
6870
# If you make changes to the service file

0 commit comments

Comments
 (0)