technologiestiftung / flusshygiene

WIP Monorepo for the project Flusshygiene and all the modules that are actually used
https://badestellen.berlin.de
MIT License
4 stars 1 forks source link

Flusshygiene

This is the the source for the web application of the project Flusshygiene.

CI Status

Docker Image Builder Workflow badge FHPREDICT Test Workflow badge MIDDLELAYER Test Workflow badge NGINX Test Workflow badge OPENCPU BASE Test Workflow badge POSTGRES API Test Workflow badge CMS SPA Test Workflow badge Coverage Status

Prerequisites

blackbox

encrypt decrypt secrets

auth0.com

AWS

Docker

Folder terraform

Setup Terraform

Deploy With Terraform

Order of deployment:

  1. s3-pgapi-uploads
  2. s3-radolan-recent
  3. rds
  4. elastic-cache
  5. ecs-radolan-recent
  6. cloud-watch
  7. elastic-beanstalk
  8. ecs-fargate-cronbot

after cd elastic-beanstalk && terraform apply you will have to create a ssh key, download it, chmod 600 it and store it in ~/.ssh for usage with the eb cli and for provisioning the DB

Setup Postgres/Postgis RDS Database

cd terraform/ec2-worker-with-nodejs
terraform init
terraform plan
terraform apply
ssh -i path/to/your/YOUR.pem   ubuntu@SOME.DOMAIN.eu-central-1.compute.amazonaws.com
# on the remote worker
# you can use tmux to attach/detach a session
# https://en.wikipedia.org/wiki/Tmux
cd pgapi
npm run build && NODE_DOCKER_ENV=0 NODE_ENV=production FAST=true npm run populatedb

Folder packages

Folder elastic-beanstalk-deply

Setup EB

Deploy EB

Contributors

Thanks goes to these wonderful people (emoji key):


Fabian MorΓ³n Zirfas

πŸ’» πŸ“–

Hauke Sonnenberg

πŸ’»

Lucas Vogel

πŸ“–

wseis

πŸ”£ πŸ‘€ 🎨

This project follows the all-contributors specification. Contributions of any kind welcome!

Credits

Partners network

Developed in the project

Supported by