Skip to content

Commit a89691d

Browse files
committed
add homework assignment slides to the presentation
1 parent 359da2c commit a89691d

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

source/presentations/session04.rst

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,6 +1322,63 @@ Next steps for an app like this might be:
13221322
it serves
13231323

13241324

1325+
Homework
1326+
--------
1327+
1328+
For your homework this week, you'll be creating a wsgi application of your
1329+
own.
1330+
1331+
.. class:: incremental
1332+
1333+
As the source of your data, use the mashup you created last week.
1334+
1335+
.. class:: incremental
1336+
1337+
Your application should have at least two separate "pages" in it.
1338+
1339+
.. class:: incremental
1340+
1341+
The HTML you produce does not need to be pretty, but it should be something
1342+
that shows up in a browser.
1343+
1344+
1345+
Submitting Your Homework
1346+
------------------------
1347+
1348+
To submit your homework:
1349+
1350+
.. class:: small
1351+
1352+
* Create a new python script in ``assignments/session04``. It should be
1353+
something I can run with:
1354+
1355+
.. class:: small
1356+
1357+
::
1358+
1359+
$ python your_script.py
1360+
1361+
.. class:: small
1362+
1363+
* Once your script is running, I should be able to view your application in my
1364+
browser.
1365+
1366+
* Include all instructions I need to successfully run and view your script.
1367+
1368+
* Add tests for your code. I should be able to run the tests like so:
1369+
1370+
.. class:: small
1371+
1372+
::
1373+
1374+
$ python tests.py
1375+
1376+
.. class:: small
1377+
1378+
* Commit your changes to your fork of the repo in github, then open a pull
1379+
request.
1380+
1381+
13251382
Wrap-Up
13261383
-------
13271384

0 commit comments

Comments
 (0)