-
Jan-Niclas Strüwer authoredJan-Niclas Strüwer authored
Data Provider
Setup
- Build all docker images in the
tools
folder. Make sure the container name matches the name expected in the corresponding launch script inresources/scripts
(usually matches the folder name of the tool). - Start the database docker service in
tools/db
. - Set the necessary environment variables (the following shows examples):
OPENCODE_GITLAB_TOKEN=XXX
GIT_PROJECT_PATH=/tmp/opencode
DB_URL=jdbc:postgresql://localhost:5432/dataprovider
DB_USER=sa
DB_PW=password
Make sure that the db settings match the values in the database dockerfile!
If you are using IntelliJ for development it is easiest to create a .env
file in the resources
folder.
This file is automatically loaded by the IDE.
Tests
To run the e2e tests make sure to install the git submodules in the test directory.