diff options
author | rsiddharth <rsd@gnu.org> | 2016-05-12 21:36:21 +0000 |
---|---|---|
committer | rsiddharth <rsd@gnu.org> | 2016-05-12 21:36:21 +0000 |
commit | 766122be7fad43d15da069382731aaee6e636a22 (patch) | |
tree | 88377146c745ea3abd5e6670a0f793a00d944353 /docs/install/index.rst | |
parent | f0552944b9ea3a4b9ff9c8f0de034e71060a6df1 (diff) |
update README.rst
- all documentation is being moved to docs/
- installation documentation is at docs/install/index.rst
Diffstat (limited to 'docs/install/index.rst')
-rw-r--r-- | docs/install/index.rst | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/install/index.rst b/docs/install/index.rst new file mode 100644 index 0000000..7a4fe0b --- /dev/null +++ b/docs/install/index.rst @@ -0,0 +1,39 @@ +Installation +------------ + +On a Debian based distribution, do:: + + # aptitude install virtualenv python-setuptools + +Install globally +~~~~~~~~~~~~~~~~ + +:: + + $ sudo pip install lpschedule-generator + + +Install locally using virtualenv (Recommended) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Make a separate ``lpschedule-generator`` directory and initialize the +virtual environment in it:: + + $ mkdir lpschedule-generator + $ cd lpschedule-generator + + $ virtualenv . + $ source bin/activate + +Install ``lpschedule-generator`` inside this directory using ``pip``:: + + $ pip install lpschedule-generator + +Activating virtual environment +`````````````````````````````` + +Always activate the virtual environment before using the ``lps_gen`` +command:: + + $ cd path/to/lpschedule-generator + $ source bin/activate |