The Artima Developer Community
Sponsored Link

Python Buzz Forum
Getting the Subway Noteboard example up and running

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Michael Josephson

Posts: 20
Nickname: mikej
Registered: Nov, 2004

Michael Josephson is a software engineer based in Manchester, UK
Getting the Subway Noteboard example up and running Posted: Jul 24, 2005 11:07 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Michael Josephson.
Original Post: Getting the Subway Noteboard example up and running
Feed Title: SDJournal
Feed URL: http://www.sdjournal.com/archives/categories/languages/python/rss.xml
Feed Description: Posts from the Python category on SDJournal
Latest Python Buzz Posts
Latest Python Buzz Posts by Michael Josephson
Latest Posts From SDJournal

Advertisement

After taking a first look at Subway a few weeks ago I've been doing a bit more work with it today in terms of getting the NoteBoard example app up and running.

I already had some of the dependencies installed (Python 2.4, Cheetah 0.9.17, MySQL, mysqldb) so I needed:

and then it was just a case of getting the latest version of subway itself.

These all install using the familar python setup.py install approach. After that the example can be started up by going into the examples/noteboard directory and running python scripts/start_server.py.

The one thing that did catch me out at first is that some of the .html templates are saved with CRLF line endings and these needed to be converted before things would work correctly under Linux. (this is mentioned in this posting to subway-devel.) The symptoms for this were receiving a from site import site ImportError: cannot import name site when trying to request the root page for the app.

Read: Getting the Subway Noteboard example up and running

Topic: A More Perfect App Server: WSGI Transaction Manager Previous Topic   Next Topic Topic: Changes in Atom from 0.3 to 1.0

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use