Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/technologiestiftung/flusshygiene
WIP Monorepo for the project Flusshygiene and all the modules that are actually used
https://github.com/technologiestiftung/flusshygiene
Last synced: 30 days ago
JSON representation
WIP Monorepo for the project Flusshygiene and all the modules that are actually used
- Host: GitHub
- URL: https://github.com/technologiestiftung/flusshygiene
- Owner: technologiestiftung
- License: mit
- Created: 2019-10-28T09:19:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-27T01:33:55.000Z (9 months ago)
- Last Synced: 2024-05-17T02:58:31.897Z (7 months ago)
- Language: TypeScript
- Homepage: https://badestellen.berlin.de
- Size: 44.6 MB
- Stars: 4
- Watchers: 9
- Forks: 1
- Open Issues: 106
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
![](https://img.shields.io/badge/Built%20with%20%E2%9D%A4%EF%B8%8F-at%20Technologiestiftung%20Berlin-blue)
# Flusshygiene
This is the the source for the web application of the project Flusshygiene.
## CI Status
[![Docker Image Builder Workflow badge](https://github.com/technologiestiftung/flusshygiene/workflows/Docker%20Image%20Builder/badge.svg)](https://github.com/technologiestiftung/flusshygiene/actions?query=workflow%3A%22Docker+Image+Builder%22) [![FHPREDICT Test Workflow badge](https://github.com/technologiestiftung/flusshygiene/workflows/FHPREDICT%20API%20test%20and%20build/badge.svg)](https://github.com/technologiestiftung/flusshygiene/actions?query=workflow%3A%22FHPREDICT+API+test+and+build%22) [![MIDDLELAYER Test Workflow badge](https://github.com/technologiestiftung/flusshygiene/workflows/MIDDLELAYER%20test%20and%20build/badge.svg)](https://github.com/technologiestiftung/flusshygiene/actions?query=workflow%3A%22MIDDLELAYER+test+and+build%22) [![NGINX Test Workflow badge](https://github.com/technologiestiftung/flusshygiene/workflows/NGINX%20test%20and%20build/badge.svg)](https://github.com/technologiestiftung/flusshygiene/actions?query=workflow%3A%22NGINX+test+and+build%22) [![OPENCPU BASE Test Workflow badge](https://github.com/technologiestiftung/flusshygiene/workflows/OPENCPU%20BASE%20test%20and%20build/badge.svg)](https://github.com/technologiestiftung/flusshygiene/actions?query=workflow%3A%22OPENCPU+BASE+test+and+build%22) [![POSTGRES API Test Workflow badge](https://github.com/technologiestiftung/flusshygiene/workflows/POSTGRES%20API%20test%20and%20build/badge.svg)](https://github.com/technologiestiftung/flusshygiene/actions?query=workflow%3A%22POSTGRES+API+test+and+build%22) [![CMS SPA Test Workflow badge](https://github.com/technologiestiftung/flusshygiene/workflows/CMS%20SPA%20test%20and%20build/badge.svg)](https://github.com/technologiestiftung/flusshygiene/actions?query=workflow%3A%22CMS+SPA+test+and+build%22) [![Coverage Status](https://coveralls.io/repos/github/technologiestiftung/flusshygiene/badge.svg?branch=master)](https://coveralls.io/github/technologiestiftung/flusshygiene?branch=master)
- [Flusshygiene](#flusshygiene)
- [CI Status](#ci-status)
- [Prerequisites](#prerequisites)
- [blackbox](#blackbox)
- [auth0.com](#auth0com)
- [AWS](#aws)
- [Docker](#docker)
- [Folder `terraform`](#folder-terraform)
- [Setup Terraform](#setup-terraform)
- [Deploy With Terraform](#deploy-with-terraform)
- [Setup Postgres/Postgis RDS Database](#setup-postgrespostgis-rds-database)
- [Folder `packages`](#folder-packages)
- [Folder `elastic-beanstalk-deply`](#folder-elastic-beanstalk-deply)
- [Setup EB](#setup-eb)
- [Deploy EB](#deploy-eb)
- [Contributors](#contributors)## Prerequisites
- auth0.com account
- api configured
- extension configured to api
- aws account
- aws credentials
- eb cli installed
- aws cli?
- docker account
- docker installed
- terraform installed
- serverless installed
- blackbox installed (optional)### blackbox
encrypt decrypt secrets
### auth0.com
- add domain(s) from aws to allowed domains in api
### AWS
### Docker
## Folder `terraform`
### Setup Terraform
- install terraform
- aws credentials
- fill in variables### 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-cronbotafter `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
- create key for ec2 instance
```bash
cd terraform/ec2-worker-with-nodejs
terraform init
terraform plan
terraform apply
ssh -i path/to/your/YOUR.pem [email protected]
# 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`
- lerna
## Folder `elastic-beanstalk-deply`
### Setup EB
- Install `eb-cli`
- setup your env
- credentials?
- `eb init --profile flsshygn`
- `eb status` to see what is going on
- `eb use {ENV}`
- `eb ssh --setup` to create ssh keys for your ec2 instances### Deploy EB
- deploy `eb deploy --profile flsshygn`
## Contributors
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Fabian MorΓ³n Zirfas
π» π
Hauke Sonnenberg
π»
Lucas Vogel
π
wseis
π£ π π¨
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
## Credits
### Partners network
### Developed in the project
### Supported by