update INSTALL

This commit is contained in:
Oskar Hahn 2012-07-15 11:14:05 +02:00
parent 84a78e8584
commit 7d803af2db

39
INSTALL
View File

@ -64,7 +64,13 @@ II. Installation on GNU/Linux and MacOSX
Make sure that you have installed python and virtualenv on your
system.
1. Get OpenSlides:
1. OpenSlides requires following programs, which should be
installed first: python 2 (>=2.5), virtualenv, reportlab, pil
E.g. for ubuntu run:
$ sudo apt-get install python python-virtualenv python-reportlab python-imagin
2. Get OpenSlides:
a) Download latest OpenSlides release from http://openslides.org.
@ -72,28 +78,35 @@ system.
b) Clone development version from mercurial repository:
hg clone -r 1.2-dev http://hg.openslides.org
$ hg clone -r 1.2-dev http://hg.openslides.org
2. Setup virtualenv:
You have to install mercurial. For Ubuntu run:
# Go to the (extracted/cloned) root directory of OpenSlides
# and create virtualenv environment
virtualenv --no-site-packages .venv
$ sudo apt-get install mercurial
# activate virtualenv environment
. .venv/bin/activate
3. Setup virtualenv:
3. Install 'pip' (if not available):
Go to the (extracted/cloned) root directory of OpenSlides
and create virtualenv environment:
$ virtualenv --system-site-packages .venv
Activate the virtualenv environment:
$ . .venv/bin/activate
easy_install pip
4. Install required packages:
pip install django django-mptt reportlab pil simplejson mercurial
$ pip install django django-mptt
If you use python 2.5 you also have to install 'simplejson'
$ pip install simplejson
5. Start OpenSlides server and open URL in your default browser:
python start.py
$ python start.py
If you run this script the first time new database and admin account
are created. Please change the password after first login!
@ -106,4 +119,4 @@ system.
--
If you need help ask on OpenSlides users mailing list.
See www.openslides.org for more information.
See http://openslides.org for more information.