Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 14 lines (11 sloc) 0.387 kb
e496110 @sharms Created fcgi spawn script, updated column sizes
authored
1 #!/www/HomePage/bin/python
2 import os
3 import sys
4 os.environ.setdefault('PATH', '/bin:/usr/bin')
5 os.environ['PATH'] = '/www/HomePage/bin:' + os.environ['PATH']
6 os.environ['VIRTUAL_ENV'] = '/www/HomePage'
7 os.chdir('/www/HomePage')
8
9 sys.path.insert(0, "/www/HomePage")
10
11 from flup.server.fcgi import WSGIServer
12 from homepage import app
13 WSGIServer(app, bindAddress='/tmp/homepage.sock').run()
Something went wrong with that request. Please try again.