blob: cf832f97e1a95ec000867704cf49cea0b3f5d210 (
plain) (
tree)
|
|
# LibrePlanet schedule generator
## Get it
$ git clone https://notabug.org/rsd/lpschedule-generator.git
## Setup virtual environment
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
This will install the script.
## 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
|