-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from ls1intum/chore/add-development-setup-expla…
…nation `Chore`: Add development setup explanation to ReadMe
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,26 @@ | ||
Use `docker compose up` for quick start. | ||
|
||
## Development | ||
|
||
### Running [Artemis](https://github.com/ls1intum/Artemis) in parallel (locally) | ||
Adjust the port on which the telemetry service and its database are running (with the default configuration Artemis will be running on port `8080` and a mysql database on port `3306`). | ||
|
||
Adjust the `docker-compose.yml` accordingly, e.g. the following adjustments will be needed to run the telemetry service on port `8081` and its database on port `3307`: | ||
``` | ||
services: | ||
telemetry: | ||
ports: | ||
- '127.0.0.1:8081:8080' | ||
mysql: | ||
ports: | ||
- "3307:3306" | ||
``` | ||
|
||
For using the local telemetry service in a development setup you will need to adjust the `application-dev.yml` (within Artemis, not within the telemetry service) accordingly: | ||
``` | ||
artemis: | ||
telemetry: | ||
enabled: true | ||
sendAdminDetails: true | ||
destination: http://localhost:8081 | ||
``` |