Shareabouts seems like a great crowdsourcing application. We are quite the newbies with Django but thought we'd give setting up the application ourselves and using the Openplans API server a go.
We were wondering what steps need generally be taken when switching from debug mode with Shareabouts?
We've set "Stable Version for API v 1.0") up on a VPS/Cloud host ("City Network") with a standard Ubuntu 12.04 Server as per https://github.com/openplans/shareabouts/blob/master/doc/README.md
(using a venv) and then
configured a flavor slightly with the help of https://github.com/openplans/shareabouts/blob/master/doc/CONFIG.md
We then installed Apache2.2 and mod_wsgi and followed the instructions for Webfaction (minus step 1: using Django to create a folder with Django resources and a Django app skeleton). Additionally full the full path to activate_this.py was entered in shareabouts/src/project/wsgi.py and the
WSGIDaemonProcess line in Apache's config had the /env/ added to the path. Also, step# 8 is was not adhered to as the changes in urls.py suggested were already there.
With local_settings.py DEBUG = True, the application functions without incident via the development server as well as in Apache.
If DEBUG is set to False the development server shows the "Blast! Can't connect to the motherbrain" message, unstyled, although about the only thing the browser receives are a couple of .css files under /static before
Syntax error: http://socket/static/CACHE/js/d7dd5b7e8f31.js - first piece of code, which is
and then "Shareabouts is not defined", line 513 of the main document:
Mostly the same errors in Apache. And it's the same if we rename local_settings.py to something else and enter the dataset root&flavor name&API key in settings.py. It is the same with the default flavor.
Many thanks for any hints,
David I and colleagues.