The current develop version is automatically deployed to: https://demo.sitrep.ch Login is possible with your Github account or sign-up for a new account at Auth0.
A simple local development environment can be created using docker compose and the frontend can be run using yarn.
Install docker / docker compose and yarn / node 16+
Create a .env.local file setting these variables:
Oauth2_PROXY clients can be created using Auth0....
OAUTH2_PROXY_CLIENT_ID=sitrep
OAUTH2_PROXY_CLIENT_SECRET=ds8LCRW4jhB58nWdMgZHeVISqx3O3e1o3g0LEr9H8tM= # generate with: openssl rand -base64 32 | tr -- '+/' '-_'
OAUTH2_PROXY_COOKIE_SECRET=kvicWov5Y_w10r2vmnxJTUTugMUtBp6_R4loxuANMtg= # generate with: openssl rand -base64 32 | tr -- '+/' '-_'
HASURA_GRAPHQL_ADMIN_SECRET=388HMfQ00gEyg636O63S1jxRODTSoAiu_XHa0fXhtRo= # generate with: openssl rand -base64 32 | tr -- '+/' '-_'
POSTGRES_PASSWORD=postgrespassword
OAUTH2_PROXY_REDIRECT_URL=http://localhost:3000/oauth2/callback # port for yarn dev server%
docker compose --env-file .env.local up -d
If you are running on a SElinux enabled machine, use the selinux compose file:
docker compose -f docker-compose.selinux.yml --env-file .env.local up -d
cd ui && yarn start
To correct or add translations we invite you to help us out on Transifex. We currently support the following languages: