Dieses Projekt entstand im Rahmen des #WirvsVirus-Hackathon.
- Organization - Google Docs
- DevPost submission
- Mit freundlicher Unterstützung von https://covidmeldeprozess.de/
DO NOT COMMIT TO MASTER
Development happens in dev
using feature branches and PR. dev
branch is deployed at:
- Backend: Spring Boot
- Frontend: Vue.js
- Persistence: PostgreSQL
- Deployment: Google Kubernetes Engine (GKE)
- Install Docker
- Linux: https://docs.docker.com/install/
- Docker Compose has to be installed as well; see https://docs.docker.com/compose/install/
- Mac : https://docs.docker.com/docker-for-mac/install/
- Windows:
- Linux: https://docs.docker.com/install/
- Run
docker-compose up
- JDK 11 (Java)
- https://adoptopenjdk.net/
- Make sure your
$JAVA_PATH
environment variable is set correctly!
- Gradle
- Python 3
- https://www.python.org/downloads/
- Make sure
python3
can be found on$PATH
!
- YARN (Frontend-only)
- Start PostgreSQL:
- Using docker container:
docker-compose up -d postgres
- Alternatively: Manually start
postgres
and add a user as specified inserver/src/main/resources/application.yml
- Using docker container:
- Make sure all preconditions have been met
- Run
./gradlew run
Make sure all preconditions have been met
- Using Gradle
- Download Gradle wrapper
gradle wrapper
- Build application
./gradlew build
- Test application
./gradlew test
- Run server application
./gradlew run
- Download Gradle wrapper
- Using Intellij:
- Import Project by opening the
build.gradle
file. Intellij resolves all dependencies and you can run the application by pressing the run button.
- Import Project by opening the
Frontend (more)
- Make sure all preconditions have been met
- Start local development server for vue.js development:
./gradlew runFrontendDev
- The local development server still needs the server application to be running for REST API calls!
All commits to dev
, master
, feature/*
and all PRs will be CI checked.
New commit to dev
will result in new release to staging.imis-prototyp.de
.
A new release to imis-prototyp.de
is not triggerd by commit on master
but by a new release tag.