Updated INSTALL file.

This commit is contained in:
Emanuel Schuetze 2011-09-08 09:35:53 +02:00
parent 1f5d86a0fc
commit 5b7cab6bfd

74
INSTALL
View File

@ -55,22 +55,33 @@ Installation on Windows (32/64bit)
5. Get OpenSlides source code (e.g. via mercurial checkout) 5. Get OpenSlides source code (e.g. via mercurial checkout)
hg clone http://hg.openslides.org a) Download OpenSlides as zip archive from http://openslides.org.
OR
b) Clone mercurial repository (anonymous checkout):
hg clone http://hg.openslides.org
If you have write access use instead:
hg clone ssh://hg@openslides.org/openslides
6. Copy default.settings.py to settings.py 6. Copy default.settings.py to settings.py
(in directory 'openslides') (in subdirectory 'openslides')
7. Install OpenSlides database: 7. Create OpenSlides database (and follow on screen instruction):
python manage.py syncdb python manage.py syncdb
-> Note: Answer "yes" to create superuser!
8. Run OpenSlides server: 8. Run OpenSlides server:
python manage.py runserver python manage.py runserver [port or address:port]
9. Open OpenSlides in your Browser: 9. Open OpenSlides in your browser:
http://127.0.0.1:8000/ http://127.0.0.1:8000/ (or customized server address:port)
@ -80,42 +91,63 @@ Installation on Linux and MacOSX
Make sure that you have python and virtualenv installed on your Make sure that you have python and virtualenv installed on your
system. system.
1. Setup virtualenv: 1. Get OpenSlides source code
cd openslides (project root directory) a) Download OpenSlides as zip archive from http://openslides.org.
virtualenv .venv
OR
b) Clone mercurial repository (anonymous checkout):
hg clone http://hg.openslides.org
If you have write access use instead:
hg clone ssh://hg@openslides.org/openslides
2. Setup virtualenv:
# go to the root directory of OpenSlides
cd openslides
# create virtualenv environment
virtualenv --no-site-packages .venv
# activate virtualenv environment
. .venv/bin/activate . .venv/bin/activate
2. Install 'pip' (if not available): 3. Install 'pip' (if not available):
easy_install pip easy_install pip
3. Install django packages: 4. Install django packages:
pip install django django-model-utils pip install django django-model-utils
4. Install packages for building PDF (reportlab, PIL): 5. Install packages for building PDF:
pip install reportlab pil pip install reportlab pil
5. Get OpenSlides source code (e.g. via mercurial checkout) 6. Install other required packages:
hg clone http://hg.openslides.org pip install simplejson mercurial
6. Copy default.settings.py to settings.py 7. Copy default.settings.py to settings.py:
(in directory 'openslides')
7. Install OpenSlides database (and follow on screen instruction): cp openslides/default.settings.py openslides/settings.py
8. Create OpenSlides database (and follow on screen instruction):
python manage.py syncdb python manage.py syncdb
8. Run OpenSlides server: -> Note: Answer "yes" to create superuser!
python manage.py runserver 9. Run OpenSlides server:
9. Open OpenSlides in your Browser: python manage.py runserver [port or address:port]
http://127.0.0.1:8000/ 10. Open OpenSlides in your browser:
http://127.0.0.1:8000/ (or customized server address:port)
-- --