grouprise is a platform destined to encourage and enable social action and solidarity in the context of your city. Bildet Banden!
You may want to install the latest snapshot build as a deb package. Please note that this is a rather dirty package (only amd64, containing a virtualenv with python3.5 - suitable for Debian stretch).
- You will need yarn, virtualenv, node, python3, flake8, pip and make to get started. If you have all of those, you may proceed :). Otherwise see the Dependencies Section
make app_setupand wait until you see something like
Starting development server at http://127.0.0.1:8000/
- Visit http://127.0.0.1:8000/
Depending on your distribution (we assume you’ll be using something like Linux here) the build dependencies of this project will be available via your package manager.
pip use apt:
apt install make virtualenv python3 python3-flake8 python3-pip
node is available as
nodejs-legacy (please install both), but you’ll have to have Debian Stretch to get a node version that is going to work. The nodejs people also offer pre-packaged up to date builds here.
yarn is not yet available in Debian. Take a look at their installation manual.
Fortunately all of the required packages are available via pacman.
pacman -Sy make nodejs yarn flake8 python python-virtualenv python-pip
Your local Django settings will be located in
make app_local_settings to create a default configuration.
The preconfigured database is a local sqlite file. For production deployment you should use a database server.
The following statement creates a suitable database including proper collation settings:
CREATE USER stadtgestalten with password 'PUT RANDOM NOISE'; CREATE DATABASE stadtgestalten WITH ENCODING 'UTF8' LC_COLLATE='de_DE.UTF8' LC_CTYPE='de_DE.UTF8' TEMPLATE=template0 OWNER stadtgestalten;
The command above requires the locale 'de_DE.UTF8' in the system of the database server.
We recommend to use the provided debian package. It already comes with a UWSGI config.