Skip to content

Commit 45aede0

Browse files
committed
Fix botched replace
1 parent 0fe466f commit 45aede0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/10-The-Client-Demonstration/02-Troubleshoot-the-Development-Environment.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
9898
</details>
9999
1. <details>
100-
<summary>Back on the devapp01 webserver. Attempt to start the web application by:</br>Navigate to the directory /opt/caleston-code/mercuryProject</br>Next, run the command Python3 manage.py runserver 0.0.0.0:8000</summary>
100+
<summary>Back on the devapp01 webserver. Attempt to start the web application by:</br>Navigate to the directory /opt/caleston-code/mercuryProject</br>Next, run the command python3 manage.py runserver 0.0.0.0:8000</summary>
101101
102102
At this point you are still logged into `devdb01`, so first return to Bob's laptop
103103

@@ -111,7 +111,7 @@
111111
ssh devapp01
112112
113113
cd /opt/caleston-code/mercuryProject
114-
Python3 manage.py runserver 0.0.0.0:8000
114+
python3 manage.py runserver 0.0.0.0:8000
115115
```
116116

117117
Note it dumps a stack trace on the screen, i.e. it crashed! Thus the answer is `No`.
@@ -164,7 +164,7 @@
164164
165165
```bash
166166
source ../venv/bin/activate
167-
Python3 manage.py migrate
167+
python3 manage.py migrate
168168
```
169169
170170
Start the app again so the question will validate.
@@ -181,10 +181,10 @@
181181

182182
First quit the running webapp by pressing `CTRL-C`
183183

184-
Note that in unit files, the process to execute (in this case `Python3`) we must use its fully qualified path, as `systemd` does not have a search path. Get this like this
184+
Note that in unit files, the process to execute (in this case `python3`) we must use its fully qualified path, as `systemd` does not have a search path. Get this like this
185185

186186
```bash
187-
which Python3
187+
which python3
188188
```
189189

190190
Now create the unit file
@@ -200,7 +200,7 @@
200200
Description=Project Mercury Web Application
201201
202202
[Service]
203-
ExecStart=/usr/bin/Python3 manage.py runserver 0.0.0.0:8000
203+
ExecStart=/usr/bin/python3 manage.py runserver 0.0.0.0:8000
204204
Restart=on-failure
205205
WorkingDirectory=/opt/caleston-code/mercuryProject/
206206
User=mercury

0 commit comments

Comments
 (0)