These are development instructions for the ArTEMiS application.
Docker can be used to setup development containers for MySQL, Bitbucket, Bamboo and JIRA.
-
Install Docker and
docker-compose
-
Run
docker-compose -f src/main/docker/dev.yml up
. -
This will startup the following containers. When accessing for the first time you need to setup a license and an admin user.
- Bitbucket: http://127.0.0.1:7990
- Bamboo: http://127.0.0.1:8085
- JIRA: http://127.0.0.1:8000
- MySQL: 127.0.0.1:3306 (user
root
without password)
-
In Bamboo go to
Administration
->Application Links
and add Bitbucket using the URLhttp://exerciseapplication-bitbucket:7990
. Use OAuth without Impersonation. -
In Bitbucket go to
Administration
->Application Links
and add Bamboo using the URLhttp://exerciseapplication-bamboo:8085
. Use OAuth without Impersonation. -
Configure JIRA/Bitbucket/Bamboo with Groups, Test Users, Plans etc. Please note that as default JIRA/Bitbucket/Bamboo do have seperate user databases and test users might need to be created on all instances.
-
Setup your
application.yml
in the root directory of the app, example:exerciseapp: repo-clone-path: ./repos/ result-retrieval-delay: 5000 encryption-password: X7RNnJUzeoUpB2EQsK jira: url: http://localhost:8000 instructor-group-name: jira-administrators bitbucket: url: http://localhost:7990 user: bitbucket password: bitbucket bamboo: url: http://localhost:8085 bitbucket-application-link-id: 0c3af16d-2aef-3660-8dd8-4f87042833de user: bamboo password: bamboo lti: oauth-key: exerciseapp_lti_key oauth-secret: 7pipQv9MeidmZvMsTL create-user-prefix: edx_