Skip to content

DigitaleGesellschaft/Datenauskunftsbegehren

Repository files navigation


Datenauskunftsbegehren Generator

Generiere dein Datenauskunftsbegehren

This is the code behind: https://www.digitale-gesellschaft.ch/auskunftsbegehren

Contribute

Please open issues here for anything you find not working correctly with the Application. If you miss any organisation or company in the data, feel free to open Pull Requests at the Data Repository.

Develop

Setup local development environment

Note that you will need to have Node.js installed.

Install the dependencies...

npm install

...then start Rollup:

npm run dev

Navigate to localhost:5000. You should see the App runnning.

If you're using Visual Studio Code we recommend installing the official extension Svelte for VS Code.

Building and running in production mode

To create an optimised version of the app:

npm run build

You can run the newly built app with npm run start. This uses sirv.

Deployment

Use Artifact from Github Action

Go to https://github.com/DigitaleGesellschaft/Datenauskunftsbegehren/actions and download the Artifact named Public from the latest build. Put all the content into a folder server by a webserver.

Build your own

Generate production build:

npm run build

Copy everything in /public into a folder served by a Webserver.