summaryrefslogtreecommitdiffstats
path: root/docs/install/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/install/index.rst')
-rw-r--r--docs/install/index.rst39
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