Skip to content

Commit bb81f4d

Browse files
committed
Week05 Comments
1 parent 33dd8ea commit bb81f4d

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Thanks to the e-mail collaboration between chris/eric/tyler/austin I was able to get my VM running. Running the db initialize step from my VM seemed to be one solution to my configuration woes. :: https://github.com/cewing/training.python_web/blob/master/source/presentations/week05.rst#initialize-the-db-irl
2+
3+
In a moment of desperation I installed Flask at root. I know it is taboo, but after 5 hours of
4+
debugging I was willing to try anything.
5+
6+
You can give flaskr a try here: http://block647060-3is.blueboxgrid.com/
7+
8+
I made no modifications to the code offered on git.
9+
10+
11+
My flaskr.wsgi (thanks eric!):
12+
13+
**/var/www/flaskr.wsgi**
14+
15+
#!/usr/bin/python
16+
17+
import sys
18+
sys.path.insert(0, '/home/uw/flaskrenv/venv/lib/python2.6/site-packages/flask')
19+
sys.path.insert(0, '/home/uw/flaskrenv/flaskr')
20+
sys.path.insert(0, '/usr/lib/python2.6')
21+
sys.path.insert(0, '/usr/lib/python2.6/plat-linux2')
22+
sys.path.insert(0, '/usr/lib/python2.6/lib-tk')
23+
sys.path.insert(0, '/usr/lib/python2.6/lib-old')
24+
sys.path.insert(0, '/usr/lib/python2.6/lib-dynload')
25+
sys.path.insert(0, '/usr/lib/python2.6/dist-packages')
26+
sys.path.insert(0, '/usr/lib/pymodules/python2.6')
27+
sys.path.insert(0, '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode')
28+
sys.path.insert(0, '/usr/local/lib/python2.6/dist-packages')
29+
30+
from flaskr import app as application

0 commit comments

Comments
 (0)