okfde / froide-govplan

Basis of FragDenStaat.de's „Koalitionstracker“
https://fragdenstaat.de/koalitionstracker/
MIT License
12 stars 3 forks source link
fragdenstaat

Froide GovPlan

A Django app that allows tracking government plans. Deployed at: https://fragdenstaat.de/koalitionstracker/

Install stand-alone

Requires GDAL/Geos for GeoDjango.

# Start a Postgres server with Postgis
docker compose up -d
# Setup virtualenv
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -e git+https://github.com/okfde/froide.git@main#egg=froide
pip install -e .
# Setup initial database
./manage.py migrate
# Create admin user
./manage.py createsuperuser
# Start development server
./manage.py runserver
  1. Go to http://localhost:8000/admin/
  2. Setup a homepage in the CMS: http://localhost:8000/admin/cms/page/
  3. Setup a page (could be the homepage) and then choose under advanced setting the Govplan app as application.
  4. Publish that page
  5. Setup a government and plans via the admin.

Possible next steps