Skip to content

Commit eb2d94d

Browse files
committed
Update README.md
Cleaned up time refs (too confusing 20:20)
1 parent 6bf748e commit eb2d94d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

en/deploy/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,16 @@ This will pull down a copy of your code onto PythonAnywhere. Check it out by typ
156156

157157
Just like you did on your own computer, you can create a virtualenv on PythonAnywhere. In the Bash console, type:
158158

159-
20:20 ~ $ cd my-first-blog
159+
$ cd my-first-blog
160160

161-
20:20 ~ $ virtualenv --python=python3.4 myvenv
161+
$ virtualenv --python=python3.4 myvenv
162162
Running virtualenv with interpreter /usr/bin/python3.4
163163
[...]
164164
Installing setuptools, pip...done.
165165

166-
20:20 ~ $ source myvenv/bin/activate
166+
$ source myvenv/bin/activate
167167

168-
(mvenv)20:20 ~ $ pip install django whitenoise
168+
(mvenv) $ pip install django whitenoise
169169
Collecting django
170170
[...]
171171
Successfully installed django-1.8.2 whitenoise-2.0
@@ -185,7 +185,7 @@ We'll find out a bit more about static files later in the tutorial, when we edit
185185
For now we just need to run an extra command called `collectstatic`, on the server. It tells Django to gather up all the static files it needs on the server. Mostly, these are the static files that make the admin site look pretty at the moment.
186186

187187

188-
20:20 ~ $ python manage.py collectstatic
188+
$ python manage.py collectstatic
189189

190190
You have requested to collect static files at the destination
191191
location as specified in your settings:
@@ -214,13 +214,13 @@ Here's another thing that's different between your own computer and the server -
214214
So we initialise the database on the server just like we did the one on your own computer, with `migrate` and `createsuperuser`:
215215

216216

217-
(mvenv)20:20 ~ $ python manage.py migrate
217+
(mvenv) $ python manage.py migrate
218218
Operations to perform:
219219
[...]
220220
Applying sessions.0001_initial... OK
221221

222222

223-
(mvenv)20:20 ~ $ python manage.py createsuperuser
223+
(mvenv) $ python manage.py createsuperuser
224224

225225

226226
## Publishing our blog as a web app

0 commit comments

Comments
 (0)