-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.txt
26 lines (21 loc) · 873 Bytes
/
setup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (C) 2015 Jeffrey Meyers
# This program is released under the "MIT License".
# Please see the file COPYING in the source
# distribution of this software for license terms.
# clone project
git clone https://github.com/TransitSurveyor/Dashboard.git
cd Dashboard
# create virtual environment and install python requirments
# some of the requirments may require other packages to be
# installed such as 'libpq-dev' and 'python-dev' being required for psycopg2
virtualenv env
env/bin/pip install -r requirements.txt
# copy and edit example config file for your environments settings
# project uses 'config.py' as default config file
cp example_config.py config.py
# ---------------------------------
# deploying on apache with mod_wsgi
# ---------------------------------
# 1. create wsgi file
# 2. create virtual host
# 3. make wsgi file visible to apache user