-
Notifications
You must be signed in to change notification settings - Fork 16
Installation
Sphesihle Makhathini edited this page Jan 16, 2017
·
17 revisions
- Python
- Docker
A system wide installation can be tricky since Docker causes all (RW) mounted volumes to be owned by root, which leads to output products being owned by root. As workaround I associate CAB images to specific users, which makes a system wide installation tricky.
$ pip install --user git+git://github.com/sphemakh/Stimela
Then add $HOME/.local binaries and python libraries to the PATH and PYTHONPATH. For my bash shell I add these lines to my $HOME/.bashrc file
export PATH=$HOME/.local/bin:$PATH
export PYTHONPATH=$HOME/.local/lib/python2.7/site-packages:$PYTHONPATH
or (virtual environment)
$ mkdir stimela_venv
$ cd stimela_venv
$ virtualenv stimela
$ cd stimela
$ source bin/activate
$ pip install git+git://github.com/sphemakh/Stimela
$ stimela pull
$ stimela build