No description
Find a file
2025-07-10 10:52:31 +02:00
froide_govplan add subsites 2025-07-10 10:52:31 +02:00
project hacking 2025-07-10 10:52:31 +02:00
.gitignore Ignore .ruff_cache 2024-11-05 10:29:23 +01:00
.pre-commit-config.yaml 🔧 remove unneeded eslint from pre-commit config 2025-04-28 17:27:52 +02:00
docker-compose.yml Add basic project setup files 2023-02-03 15:43:58 +01:00
flake.lock post updates on mastodon 2025-07-10 10:52:31 +02:00
froide-govplan.nix post updates on mastodon 2025-07-10 10:52:31 +02:00
LICENSE Initial commit 2022-02-15 22:18:19 +01:00
manage.py Add basic project setup files 2023-02-03 15:43:58 +01:00
MANIFEST.in Add locale to manifest 2024-09-19 23:19:01 +02:00
pyproject.toml Replace bleach with nh3 2025-06-25 09:11:44 +02:00
README.md Unpin froide dependency in setup.py 2023-02-03 17:42:27 +01:00

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

  • Use the project directory as a blueprint for an app that uses this repo as a depdency.
  • Setup djangocms-text-ckeditor, djangocms-frontend and other CMS components/
  • Use Django apps for social authentication.
  • Override templates in your custom project.