|
|
|
|
140
|
Tracim uses virtualenv as deployment environment. This ensure that there will be no
|
140
|
Tracim uses virtualenv as deployment environment. This ensure that there will be no
|
141
|
conflict between system-wide python installation and Tracim required ones.
|
141
|
conflict between system-wide python installation and Tracim required ones.
|
142
|
|
142
|
|
143
|
- SITE_PACKAGES_PATH=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
|
|
|
144
|
virtualenv -p /usr/bin/python3 tg2env
|
143
|
virtualenv -p /usr/bin/python3 tg2env
|
145
|
source tg2env/bin/activate
|
144
|
source tg2env/bin/activate
|
146
|
cd tracim && python setup.py develop && cd -
|
145
|
cd tracim && python setup.py develop && cd -
|
147
|
pip install -r install/requirements.txt
|
146
|
pip install -r install/requirements.txt
|
148
|
- ./bin/tg2env-patch 1 $SITE_PACKAGES_PATH
|
|
|
149
|
- pip install -r install/requirements.txt
|
|
|
150
|
- ./bin/tg2env-patch 2 $SITE_PACKAGES_PATH
|
|
|
151
|
-
|
|
|
152
|
-Notes:
|
|
|
153
|
-
|
|
|
154
|
-* Ubuntu (at least 14.04): please update the site-package path with your version of python
|
|
|
155
|
|
147
|
|
156
|
## Database Setup ##
|
148
|
## Database Setup ##
|
157
|
|
149
|
|