Updated INSTALL (Simplify windows instruction to 32bit, added missing django-mptt to

linux instruction)
This commit is contained in:
Emanuel Schuetze 2012-02-20 07:56:49 +01:00
parent 7e076dc6c4
commit afd5e5681a

81
INSTALL
View File

@ -13,52 +13,25 @@ I. Installation on Windows (32/64bit)
1. Install Python 2.7 1. Install Python 2.7
- 32bit: a) Download and run 32bit MSI installer from http://www.python.org/download/
a) Download and run 32bit MSI installer (python-2.7.2.msi) e.g. version 2.7.2:
from http://www.python.org/download/ http://www.python.org/ftp/python/2.7.2/python-2.7.2.msi
b) Add python dirs to PATH (via Control Panel > System > Advanced):
C:\Python27;C:\Python27\Scripts
- 64bit: b) Add python dirs to PATH (via Control Panel > System > Advanced):
a) Download and run 64bit MSI installer (python-2.7.2.amd64.msi)
from http://www.python.org/download/ ";C:\Python27;C:\Python27\Scripts"
b) Add python dirs to PATH (via Control Panel > System > Advanced):
C:\Python27;C:\Python27\Scripts
2. Install Setuptools 0.6c11 2. Install Setuptools 0.6c11
- 32bit: Download and run 32bit binary installer from http://pypi.python.org/pypi/setuptools:
Download and run 32bit binary installer http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe
(setuptools-0.6c11.win32-py2.7.exe)
from http://pypi.python.org/pypi/setuptools
- 64bit: 3. Install required packages
a) Download 64bit version (ez_setup.py) Open command line (cmd) and run:
from http://pypi.python.org/pypi/setuptools
b) Open cmd and run to install setuptools:
python ez_setup.py
3. Install django packages easy_install django django-mptt reportlab pil
Open cmd and run:
easy_install django django-mptt 4. Get OpenSlides:
4. Install packages for building PDF (reportlab, PIL)
- 32bit:
Run on cmd:
easy_install reportlab pil
- 64bit:
a) Download and run Reportlab 64bit binary installer
(reportlab-2.5-win-amd64-py2.7.exe) from
http://www.reportlab.com/ftp/
b) Download and run PIL 64bit binary installer
(PIL-1.1.7.win-amd64-py2.7.exe) from
http://www.lfd.uci.edu/~gohlke/pythonlibs/
5. Get OpenSlides:
a) Download latest OpenSlides release from http://openslides.org. a) Download latest OpenSlides release from http://openslides.org.
@ -72,24 +45,24 @@ I. Installation on Windows (32/64bit)
If you have write access use instead: If you have write access use instead:
hg clone ssh://hg@openslides.org/openslides hg clone ssh://hg@openslides.org/openslides
6. Copy default.settings.py to settings.py 5. Copy default.settings.py to settings.py
(in subdirectory 'openslides') (in subdirectory 'openslides')
7. Create OpenSlides database (and follow on screen instruction). 6. Create OpenSlides database (and follow on screen instruction).
Go to the extracted OpenSlides root directory and enter: Go to the extracted OpenSlides root directory and enter:
python manage.py syncdb python manage.py syncdb
-> Note: Answer "yes" to create superuser! -> Note: Answer "yes" to create superuser!
8. Run OpenSlides server: 7. Run OpenSlides server:
python manage.py runserver python manage.py runserver
Optional: Add <port> or <address:port> to use server on custom Optional: Add <port> or <address:port> to use server on custom
address/port. address/port.
9. Open OpenSlides in your browser: 8. Open OpenSlides in your browser:
http://127.0.0.1:8000/ (or customized server address:port) http://127.0.0.1:8000/ (or customized server address:port)
@ -128,42 +101,34 @@ system.
easy_install pip easy_install pip
4. Install django packages: 4. Install required packages:
pip install django django-model-utils pip install django django-mptt reportlab pil simplejson mercurial
5. Install packages for building PDF: 5. Copy default.settings.py to settings.py:
pip install reportlab pil
6. Install other required packages:
pip install simplejson mercurial
7. Copy default.settings.py to settings.py:
cp openslides/default.settings.py openslides/settings.py cp openslides/default.settings.py openslides/settings.py
8. Create OpenSlides database in the OpenSlides root directory 6. Create OpenSlides database in the OpenSlides root directory
and follow on screen instruction: and follow on screen instruction:
python manage.py syncdb python manage.py syncdb
-> Note: Answer "yes" to create superuser! -> Note: Answer "yes" to create superuser!
9. Run OpenSlides server: 7. Run OpenSlides server:
python manage.py runserver python manage.py runserver
Optional: Add <port> or <address:port> to use server on custom Optional: Add <port> or <address:port> to use server on custom
address/port. address/port.
10. Open OpenSlides in your browser: 8. Open OpenSlides in your browser:
http://127.0.0.1:8000/ (or customized server address:port) http://127.0.0.1:8000/ (or customized server address:port)
-- --
If you need help ask on OpenSlides users mailinglist. If you need help ask on OpenSlides users mailing list.
See www.openslides.org for more information. See www.openslides.org for more information.