A hacked-up, multiheaded version of the original shareabouts app by your loving interns
There are a number of files to create and edit.
- Create your flavor. Place it in
/src/flavors
. - Create the
settings_SYSTEM.py
file in/src
. Use the template, and name it accordingly. - Create the
wsgi_SYSTEM.py
file at the root. This just points to the settings file. - Modify the
wsgi.conf
file by adding the wsgi path. Copy paste the following, replacing SYSTEM_NAME with the name you used for your system.
<VirtualHost *>
ServerName SYSTEM_NAME.localhost
ServerAlias SYSTEM_NAME.*.com
WSGIDaemonProcess SYSTEM_NAME processes=5 python-path=/opt/python/current/app:/opt/python/run/venv/lib64/python2.7/site-packages:/opt/python/run/venv/lib/python2.7/site-packages user=wsgi group=wsgi threads=1 home=/opt/python/current/app
WSGIProcessGroup SYSTEM_NAME
WSGIScriptAlias / /opt/python/current/app/wsgi_SYSTEM_NAME.py
</VirtualHost>
Shareabouts uses vagrant to simplify local development. To start a dev server,
run vagrant up
from the root of the app.
Visit SYSTEM_NAME.localhost:4000
to view the app.