Welcome home! Willkommen Daheim! willkommen-daheim.org
Daheim is a German non-profit NGO with the mission of teaching language and culture for free to refugees arriving to Germany. We connect German native volunteers with people that would like to learn over an online video platform.
Prerequisites:
- node greater than 6.0.0
- npm greater than 3.0
- docker running and controllable with docker-compose
Install dependencies:
npm installCopy .env.example file to .env in the follwing directories:
- packages/daheim-app-api
- packages/daheim-app-live
- packages/daheim-app-ui
Run local development version:
npm run devThis repository contains the web application that connects the users through WebRTC. It contains different modules that are organized into microservices. The different modules are wired together by Lerna.
Original module sources were:
The main target language of the platform is German. Although, to make international collaboration easier, code is written in English and messages translated from English to German. Our choice of internationalization is library is react-intl. Translations are maintained in an open Crowdin project.
To run these scripts, a CROWDIN_KEY environment variable must specify a valid API key for the Crowdin project.
Upload messages to translate:
npm run crowdin-uploadBuild and package translations:
npm run crowdin-buildDownload updated translations:
npm run crowdin-downloadThe application is hosted in a Kubernetes cluster. This scripts need a fully setup kubectl.
Deploy all components to latest Docker tag and watch the deployment rolling out:
bin/devops --latest-api --latest-ui --latest-live --watch