summaryrefslogtreecommitdiffstats
path: root/README.rst
blob: 98388eb7edd07c04f47397e4b55d5d45124a221c (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
LibrePlanet schedule generator
==============================

Get it
------

Install `virtualenv` and `python-dev` package.

On a Debian based distribution, do::

  # aptitude install virtualenv python-dev

  $ cd path/to/lpschedule-generator
  $ virtualenv .

Activate virtual environment
----------------------------

::

   $ cd path/to/lpschedule-generator
   $ source bin/activate

Heads up! Always activate the virtual environment before executing any
of the commands in the following sections.

Install script
--------------

::

   $ python setup.py install

Upgrade script
--------------

::

   $ git pull origin master
   $ python setup.py install

Usage
-----

::

   $ lps_gen YEAR path/to/lp-schd.md > path/to/program-schedule.html

Replace `YEAR` with LP year; for example, for generating LP 2016
schedule, the command will be::

  $ lps_gen 2016 path/to/lp-schd.md > path/to/program-schedule.html