Jump to content

Govplan: Difference between revisions

From Official NixOS Wiki
Onny (talk | contribs)
Initial page
 
Onny (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== Setup ==
== Setup ==
{{Note|Parts of this module are not yet stable will be available with the upcoming NixOS release 25.05.}}To enable and run Govplan add following line to your system configuration and apply it<syntaxhighlight lang="nix">
To enable and run Govplan add following line to your system configuration and apply it<syntaxhighlight lang="nix">
services.froide-govplan.enable = true;
services.froide-govplan.enable = true;
</syntaxhighlight>As soon the Django web app is started and provisioned, you can access it on http://localhost . Create a administration account by executing following command<syntaxhighlight lang="shell">
</syntaxhighlight>As soon the Django web app is started and provisioned, you can access it on http://localhost . Create a administration account by executing following command<syntaxhighlight lang="shell">
Line 9: Line 9:


* Login and access the backend site http://localhost:80/admin/cms/page/
* Login and access the backend site http://localhost:80/admin/cms/page/
* Create a new (home) page
* Access advanced settings of the new page (burger menu right side in the table row) and define "Govplan" as application for that page
* Open the new home page http://localhost/, click on "Edit" in the admin menu
* The right button in the admin panel opens the page structure menu. You can place single block elements such as the overview of government plans, categories, etc. By doing this you can also create a government entity.
== Usage ==
Access the administration backend http://localhost/admin/ to add government entities, government plans, categories, etc.
[[Category:Server]]
[[Category:Web Applications]]
[[Category:Django]]

Latest revision as of 09:21, 1 June 2025

Govplan is a web-app for tracking government plans. It is developed by the Open Knowledge Foundation Germany e.V. and used by the project Koalitionstracker of FragDenStaat.de.

Setup

To enable and run Govplan add following line to your system configuration and apply it

services.froide-govplan.enable = true;

As soon the Django web app is started and provisioned, you can access it on http://localhost . Create a administration account by executing following command

froide-govplan createsuperuser

Bootstrap the Govplan app with following steps

  • Login and access the backend site http://localhost:80/admin/cms/page/
  • Create a new (home) page
  • Access advanced settings of the new page (burger menu right side in the table row) and define "Govplan" as application for that page
  • Open the new home page http://localhost/, click on "Edit" in the admin menu
  • The right button in the admin panel opens the page structure menu. You can place single block elements such as the overview of government plans, categories, etc. By doing this you can also create a government entity.

Usage

Access the administration backend http://localhost/admin/ to add government entities, government plans, categories, etc.