From b5c721876d7e241c7e5b4955b04ad9ea185698ad Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 19 Dec 2015 18:39:03 -0500 Subject: Updated README.md --- README.md | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ff61a14..cf832f9 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,44 @@ # LibrePlanet schedule generator -## On GNU/Linux +## Get it -Install `virtualenv` and python dev. package. + $ 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 -## Set up environment + $ cd path/to/lpschedule-generator + $ virtualenv . - $ git clone git://notabug.org/rsd/lpschedule-generator.git +## Activate virtual environment -Setup virtual environment: + $ cd path/to/lpschedule-generator + $ source bin/activate - $ cd lpschedule-generator - $ virtualenv . +Heads up! Always activate the virtual environment before executing any +of the commands in the following sections. -Activate the virtual environment: +## Install script - $ source bin/activate + $ python setup.py install + +This will install the script. -Install `lpschedule-generator`: +## Upgrade script + $ git pull origin master $ python setup.py install -This will install all the dependencies. +## 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 -- cgit v1.2.3