Skip to content
Snippets Groups Projects
README.md 1.48 KiB
Newer Older
Jonas Zohren's avatar
Jonas Zohren committed
# Geld vom FSR anfordern (WebApp)

Jonas Zohren's avatar
Jonas Zohren committed
> Web-Formular, um Erstattungen vom Fachschaftsrat Informatik anzufordern.

![](./screenshot.png)

## Deployment

Preferably just use the docker container built by this CI:

```sh
docker run registry.gitlab.fachschaften.org/oh14-dev/gib-geld-fsr:latest \
  --publish 80:3000 \
  --env 'PUBLIC_URL_PRIVACY=https://my-page.tld/privacy.html' \
  --env 'PUBLIC_URL_IMPRINT=https://my-page.tld/imprint.html' \
  --env 'GRAPHHOPPER_API_KEY=xxxxxxxxxxxxxxxxxxxx' \
Running this app requires a (free) GraphHopper api key to calculate driving distances and costs. Get it here: https://graphhopper.com/dashboard/#/apikeys

Please remember to also set the env vars

```env
PUBLIC_URL_PRIVACY=""
PUBLIC_URL_IMPRINT=""
```

to get usable legal links in the apps footer.

This app does not persist any data, but needs internet access to fetch money sources and resolutions from fspages.org.

You can also set the `PUBLIC_NOTICE_BANNER_HTML` env var with a HTML notice, which will be shown in a yellow alert box at the top of the page.

Jonas Zohren's avatar
Jonas Zohren committed
---
Jonas Zohren's avatar
Jonas Zohren committed
## Developing

```bash
pnpm run dev
```

## Building

```bash
pnpm run build
```

docker build --tag "gib-geld-fsr:local-dev" .
Jonas Zohren's avatar
Jonas Zohren committed
## Copyright and Licenses

- This projects source code: `MIT`
- Favicon: Google Emojis, [`Open Font License 1.1`](https://github.com/googlefonts/noto-emoji/blob/main/fonts/LICENSE)
Jonas Zohren's avatar
Jonas Zohren committed
- Ubuntu Font in PDF: [`UBUNTU FONT LICENCE Version 1.0`](https://github.com/daltonmaag/ubuntu/blob/master/LICENCE.txt)