Day 13: Tuesday, Feb 18th, 2014

  1. Fill out: quizlet on testing
  2. Homework will be posted tonight, due Thursday. If people want an extension, let me know.
  1. A brief intro to Python modules.
  2. An actual WSGI application.
  3. Individual homework questions?

An actual WSGI application

Activate your virtualenv, or create/recreate it (see Using virtualenv).

then, install Quixote into your virtualenv:

pip install http://quixote.ca/releases/Quixote-2.8.tar.gz

and, finally, try running one of the Quixote demo applications in your own WSGI server; see https://github.com/ctb/cse491-serverz/blob/hw5-wsgi/run-qx.py for code to create the WSGI app.

As an example, I’ve adapted eunbong’s server code to run the Quixote app. See the commit and diff for details on what I did – it didn’t take much.

Table Of Contents

Previous topic

Homework 6

Next topic

Homework 5

This Page

Edit this document!

This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.

  1. Go to Day 13: Tuesday, Feb 18th, 2014 on GitHub.
  2. Edit files using GitHub's text editor in your web browser (see the 'Edit' tab on the top right of the file)
  3. Fill in the Commit message text box at the bottom of the page describing why you made the changes. Press the Propose file change button next to it when done.
  4. Then click Send a pull request.
  5. Your changes are now queued for review under the project's Pull requests tab on GitHub!

For an introduction to the documentation format please see the reST primer.