Updated INSTALL file for 1.2.
This commit is contained in:
parent
8ed8ca0c58
commit
0818a78cf4
210
INSTALL
210
INSTALL
@ -1,103 +1,107 @@
|
|||||||
Installation Instructions for OpenSlides
|
Installation Instructions for OpenSlides 1.2
|
||||||
========================================
|
============================================
|
||||||
|
|
||||||
Content
|
Content
|
||||||
-------
|
-------
|
||||||
I. Installation on Windows (32/64bit)
|
I. Installation on Windows (32/64bit)
|
||||||
II. Installation on GNU/Linux and MacOSX
|
II. Installation on GNU/Linux and MacOSX
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
I. Installation on Windows (32/64bit)
|
I. Installation on Windows (32/64bit)
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
||||||
1. Install Python 2.7
|
1. Install Python 2.7
|
||||||
|
|
||||||
a) Download and run 32bit MSI installer from http://www.python.org/download/
|
a) Download and run 32bit MSI installer from http://www.python.org/download/
|
||||||
e.g. version 2.7.2:
|
e.g. version 2.7.2:
|
||||||
http://www.python.org/ftp/python/2.7.2/python-2.7.2.msi
|
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):
|
b) Add python dirs to PATH (via Control Panel > System > Advanced):
|
||||||
|
|
||||||
";C:\Python27;C:\Python27\Scripts"
|
";C:\Python27;C:\Python27\Scripts"
|
||||||
|
|
||||||
2. Install Setuptools 0.6c11
|
2. Install Setuptools 0.6c11
|
||||||
|
|
||||||
Download and run 32bit binary installer from http://pypi.python.org/pypi/setuptools:
|
Download and run 32bit binary installer from http://pypi.python.org/pypi/setuptools:
|
||||||
http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe
|
http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe
|
||||||
|
|
||||||
3. Install required packages
|
3. Install required packages
|
||||||
Open command line (cmd) and run:
|
Open command line (cmd) and run:
|
||||||
|
|
||||||
easy_install django django-mptt reportlab pil
|
easy_install django django-mptt reportlab pil
|
||||||
|
|
||||||
4. Get OpenSlides:
|
4. Get OpenSlides:
|
||||||
|
|
||||||
a) Download latest OpenSlides release from http://openslides.org.
|
a) Download latest OpenSlides release from http://openslides.org.
|
||||||
|
|
||||||
OR
|
OR
|
||||||
|
|
||||||
b) Clone development version from mercurial repository
|
b) Clone development version from mercurial repository:
|
||||||
(anonymous checkout):
|
|
||||||
|
hg clone http://hg.openslides.org
|
||||||
hg clone http://hg.openslides.org
|
|
||||||
|
5. Start OpenSlides server and open URL in your default browser:
|
||||||
If you have write access use instead:
|
|
||||||
hg clone ssh://hg@openslides.org/openslides
|
python start.py
|
||||||
|
|
||||||
5. Run start.py
|
If you run this script the first time new database and admin account
|
||||||
|
are created. Please change the password after first login!
|
||||||
python start.py
|
|
||||||
|
Username: admin
|
||||||
The Username and Password for the first created Useraccount is 'admin'
|
Password: admin
|
||||||
|
|
||||||
|
Use 'python start.py --help' to show all start options.
|
||||||
|
|
||||||
II. Installation on GNU/Linux and MacOSX
|
|
||||||
----------------------------------------
|
|
||||||
|
II. Installation on GNU/Linux and MacOSX
|
||||||
Make sure that you have installed python and virtualenv on your
|
----------------------------------------
|
||||||
system.
|
|
||||||
|
Make sure that you have installed python and virtualenv on your
|
||||||
1. Get OpenSlides:
|
system.
|
||||||
|
|
||||||
a) Download latest OpenSlides release from http://openslides.org.
|
1. Get OpenSlides:
|
||||||
|
|
||||||
OR
|
a) Download latest OpenSlides release from http://openslides.org.
|
||||||
|
|
||||||
b) Clone development version from mercurial repository (anonymous
|
OR
|
||||||
checkout):
|
|
||||||
|
b) Clone development version from mercurial repository:
|
||||||
hg clone http://hg.openslides.org
|
|
||||||
|
hg clone http://hg.openslides.org
|
||||||
If you have write access use instead:
|
|
||||||
hg clone ssh://hg@openslides.org/openslides
|
2. Setup virtualenv:
|
||||||
|
|
||||||
2. Setup virtualenv:
|
# Go to the (extracted/cloned) root directory of OpenSlides
|
||||||
|
# and create virtualenv environment
|
||||||
# Go to the (extracted/cloned) root directory of OpenSlides
|
virtualenv --no-site-packages .venv
|
||||||
# and create virtualenv environment
|
|
||||||
virtualenv --no-site-packages .venv
|
# activate virtualenv environment
|
||||||
|
. .venv/bin/activate
|
||||||
# activate virtualenv environment
|
|
||||||
. .venv/bin/activate
|
3. Install 'pip' (if not available):
|
||||||
|
|
||||||
3. Install 'pip' (if not available):
|
easy_install pip
|
||||||
|
|
||||||
easy_install pip
|
4. Install required packages:
|
||||||
|
|
||||||
4. Install required packages:
|
pip install django django-mptt reportlab pil simplejson mercurial
|
||||||
|
|
||||||
pip install django django-mptt reportlab pil simplejson mercurial
|
5. Start OpenSlides server and open URL in your default browser:
|
||||||
|
|
||||||
5. Run start.py
|
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!
|
||||||
The Username and Password for the first created Useraccount is 'admin'
|
|
||||||
|
Username: admin
|
||||||
|
Password: admin
|
||||||
--
|
|
||||||
If you need help ask on OpenSlides users mailing list.
|
Use 'python start.py --help' to show all start options.
|
||||||
See www.openslides.org for more information.
|
|
||||||
|
|
||||||
|
--
|
||||||
|
If you need help ask on OpenSlides users mailing list.
|
||||||
|
See www.openslides.org for more information.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user