Skip to content

Commit ac8ffc5

Browse files
committed
some fixes in 10 from testey branch
1 parent a94e44d commit ac8ffc5

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

chapter_10_production_readiness.asciidoc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ which I guess is what you'd want next if you already had a pony...
7979
We'll need to first install Gunicorn into our container,
8080
and then use it instead of `runserver`:
8181

82-
//001
8382

83+
// todo test this
84+
[role="skipme"]
8485
[subs="specialcharacters,quotes"]
8586
----
8687
$ *pip install gunicorn*
@@ -172,7 +173,8 @@ As we run the functional tests, you'll see them warning us of a problem, once ag
172173
The test for adding list items passes happily,
173174
but the test for layout + styling fails. Good job, tests!
174175

175-
[role="small-code"]
176+
// todo: replace pause-first with systematic pause after every docker spinup
177+
[role="small-code pause-first"]
176178
[subs="specialcharacters,macros"]
177179
----
178180
$ pass:quotes[*TEST_SERVER=localhost:8888 python src/manage.py test functional_tests \
@@ -214,8 +216,10 @@ files from Python.
214216

215217
First we install Whitenoise into our local environment:
216218

219+
[role="skipme"]
220+
[subs="specialcharacters,quotes"]
217221
----
218-
pip install whitenoise
222+
*pip install whitenoise*
219223
----
220224

221225
Then we tell Django to enable it, in _settings.py_:
@@ -238,6 +242,7 @@ MIDDLEWARE = [
238242

239243
And then we need to add it to our pip installs in the Dockerfile:
240244

245+
[role="sourcecode"]
241246
.Dockerfile (ch10l003)
242247
====
243248
[source,dockerfile]

0 commit comments

Comments
 (0)