https://github.com/okfde/froide-govplan
Basis of FragDenStaat.de's „Koalitionstracker“
https://github.com/okfde/froide-govplan
fragdenstaat
Last synced: 6 months ago
JSON representation
Basis of FragDenStaat.de's „Koalitionstracker“
- Host: GitHub
- URL: https://github.com/okfde/froide-govplan
- Owner: okfde
- License: mit
- Created: 2022-02-15T14:15:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-28T15:28:05.000Z (over 1 year ago)
- Last Synced: 2025-04-28T16:36:53.258Z (over 1 year ago)
- Topics: fragdenstaat
- Language: Python
- Homepage: https://fragdenstaat.de/koalitionstracker/
- Size: 181 KB
- Stars: 13
- Watchers: 8
- Forks: 4
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Froide GovPlan
A Django app that allows tracking government plans. Deployed at: https://fragdenstaat.de/koalitionstracker/
## Install stand-alone
Requires [GDAL/Geos for GeoDjango](https://docs.djangoproject.com/en/4.1/ref/contrib/gis/install/geolibs/).
```bash
# 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](https://github.com/django-cms/djangocms-text-ckeditor), [djangocms-frontend](https://github.com/django-cms/djangocms-frontend) and other CMS components/
- Use Django apps for social authentication.
- Override templates in your custom project.