File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
apps/py/ch12_deployment/server_setup Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/i
12
12
sudo apt-get install -y -q build-essential git unzip zip nload tree
13
13
sudo apt-get install -y -q python3-pip python3-dev python3-venv
14
14
sudo apt-get install -y -q nginx
15
+ sudo apt-get install -y -q libpq-dev
16
+ sudo apt-get install -y -q postgresql postgresql-contrib
17
+
15
18
# for gzip support in uwsgi
16
19
sudo apt-get install --no-install-recommends -y -q libpcre3-dev libz-dev
17
20
@@ -28,8 +31,8 @@ git config --global credential.helper cache
28
31
git config --global credential.helper ' cache --timeout=720000'
29
32
30
33
# Be sure to put your info here:
31
- git config --global user.email
" [email protected] "
32
- git config --global user.name " Your name "
34
+ git config --global user.email
" [email protected] "
35
+ git config --global user.name " Joe Riedley "
33
36
34
37
# Web app file structure
35
38
mkdir /apps
@@ -59,7 +62,7 @@ cd /apps/app_repo/apps/py/ch07_web/
59
62
pip install -r requirements.txt
60
63
61
64
# Copy and enable the daemon
62
- cp /apps/app_repo/apps/py/ch12_deployment /config/gtmeeting.service /etc/systemd/system/gtmeeting.service
65
+ cp /apps/gtmeeting /config/gtmeeting.service /etc/systemd/system/gtmeeting.service
63
66
64
67
65
68
systemctl start gtmeeting
You can’t perform that action at this time.
0 commit comments