Presentation and assembly system
Project description
What is OpenSlides?
OpenSlides is a free, web based presentation and assembly system for managing and projecting agenda, motions and elections of an assembly. See https://openslides.org/ for more information.
Requirements
The OpenSlides server runs everywhere where Python is running (for example on GNU/Linux, Mac or Windows). For the OpenSlides client a current webbrowser is required.
Installation
1. Installation on GNU/Linux or Mac OS X
a. Check requirements
Make sure that you have installed Python (>= 3.5) on your system.
Additional you need build-essential packages, header files and a static library for Python and also the pyvenv-3 binary package for python3.
E.g. run on Debian/Ubuntu:
$ sudo apt-get install build-essential python3-dev python3-venv
b. Setup a virtual Python environment (optional)
You can setup a virtual Python environment using the virtual environment (venv) package for Python to install OpenSlides as non-root user.
Create your OpenSlides directory and change to it:
$ mkdir OpenSlides $ cd OpenSlides
Setup and activate the virtual environment:
$ python3 -m venv .virtualenv $ source .virtualenv/bin/activate $ pip install --upgrade setuptools pip
c. Install OpenSlides
To install OpenSlides just run:
$ pip install openslides
This installs the latest stable version. To install a specific (beta) version use openslides==x.y.
You can also use the package from the OpenSlides website. Download latest OpenSlides release as compressed tar archive and run:
$ pip install openslides-x.y.tar.gz
This will install all required Python packages (see requirements_production.txt).
d. Start OpenSlides
To start OpenSlides simply run:
$ openslides
If you run this command the first time, a new database and the admin account (Username: admin, Password: admin) will be created. Please change the password after first login!
OpenSlides will start a webserver. It will also try to open the webinterface in your default webbrowser. The server will try to listen on the local ip address on port 8000. That means that the server will be available to everyone on your local network (at least for commonly used network configurations).
If you use a virtual environment (see step b.), do not forget to activate the environment before restart after you closed the terminal:
$ source .virtualenv/bin/activate
To get help on the command line options run:
$ openslides --help
You can store settings, database and other personal files in a local subdirectory and use these files e. g. if you want to run multiple instances of OpenSlides:
$ openslides start --local-installation
2. Installation on Windows
Download the latest portable version of OpenSlides for Windows from OpenSlides website which does not require any install steps. Simply unzip the downloaded file and run openslides.exe.
Development
If you want to contribute to OpenSlides, have a look at OpenSlides website and write us an email. There is also an instruction to install the development version.
In OpenSlides repository you find a Dockerfile but this is not for production use. See our Multi instance backend for OpenSlides for more information.
Installation for big assemblies
The installation steps described above install OpenSlides in a way that does NOT support hundreds of concurrent clients. To install OpenSlides for big assemblies some variables have to be changed in the OpenSlides settings file (usually called settings.py).
The configuration values that have to be altered are:
CACHES
CHANNEL_LAYERS
DATABASES
SESSION_ENGINE
You should use a webserver like Apache HTTP Server or nginx to serve the static and media files as proxy server in front of your OpenSlides interface server. You also should use a database like PostgreSQL and Redis as channels backend, cache backend and session engine. Finally you should start some WSGI workers and one or more interface servers (Daphne or Geiss).
Please see the respective section in the DEVELOPMENT.rst and:
Used software
OpenSlides uses the following projects or parts of them:
Several Python packages (see requirements_production.txt).
Several JavaScript packages (see bower.json)
angular, License: MIT
angular-animate, License: MIT
angular-bootstrap-colorpicker, License: MIT
angular-chosen-localytics, License: MIT
angular-ckeditor, License: MIT
angular-file-saver, License: MIT
angular-formly, License: MIT
angular-formly-templates-bootstrap, License: MIT
angular-gettext, License: MIT
angular-messages, License: MIT
angular-pdf, License: MIT
angular-sanitize, License: MIT
angular-scroll-glue, License: MIT
angular-ui-bootstrap, License: MIT
angular-ui-router, License: MIT
angular-ui-router-title, License: MIT
angular-ui-tree, License: MIT
angular-xeditable, License: MIT
angularjs-scroll-glue, License: MIT
angularjs-slider, License: MIT
api-check, License: MIT
blob-polyfill, License: MIT
bootstrap, License: MIT
bootstrap, License: MIT
bootstrap-css-only, License: MIT
bootstrap-ui-datetime-picker, License: MIT
chosen, License: MIT
ckeditor, License: (GPL-2.0 OR LGPL-2.1 OR MPL-1.1)
docxtemplater, License: MIT
file-saver.js, License: LICENSE.md
font-awesome-bower, License: MIT
jquery, License: MIT
jquery.cookie, License: MIT
js-data, License: MIT
js-data-angular, License: MIT
jszip, License: MIT or GPLv3
lodash, License: MIT
ng-dialog, License: MIT
ng-file-upload, License: MIT
ngbootbox, License: MIT
ngStorage, License: MIT
papaparse, License: MIT
pdfjs-dist, License: Apache-2.0
pdfmake, License: MIT
roboto-fontface, License: Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file openslides-2.3.tar.gz
.
File metadata
- Download URL: openslides-2.3.tar.gz
- Upload date:
- Size: 3.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6324319540b7d939125f00be146df566889f59218b01dea8266390f44af50975 |
|
MD5 | e964486094962350827d2fb0dc395582 |
|
BLAKE2b-256 | ded84d4049fcd40a23f0c0e20b02ee2e3d6a58dcd276f9c0125df4c538844e90 |
Provenance
File details
Details for the file openslides-2.3-py3-none-any.whl
.
File metadata
- Download URL: openslides-2.3-py3-none-any.whl
- Upload date:
- Size: 3.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 681569cb2a1191b29b7988e733e23646b51dc07dfea0343bb00f74845ca5bf70 |
|
MD5 | 0d510a9a7b1f58364680dafede93ce47 |
|
BLAKE2b-256 | 0a928821114c70f98e35c6b73c71c534eba380ff682775b8fbdd98de2da713c8 |