Can't setup development environment
cbortz opened this issue · 1 comments
cbortz commented
Hey @pwillworth love the project, and thank you for open sourcing it!
I can't seem to get this thing set up and running locally. Here's my setup:
- Python 2.7
- Mac OSX 10.12 (I have a Windows machine if necessary)
- MySQL 5.7.18
- Apache 2.4 (w/ mod_python)
My primary issue is that jinja2 can't find the templates, and I keep getting TemplateNotFound
errors. Then, when I comment everything out and just do a simple print
statement, I get a 404. What gives?
Can you post up a sample Apache configuration to get this thing running?
cbortz commented
Nevermind, I got it working by using the following in my httpd.conf
:
PythonHandler mod_python.cgihandler
PythonPath "sys.path+['/path/to/repo', '/path/to/repo/html']"