diff --git a/README.md b/README.md index 34e443a194937c28cf893ac87b226a6efbfd6b26..2d15aaf7073d19a3b3d48c496ce317a068378452 100644 --- a/README.md +++ b/README.md @@ -3,5 +3,21 @@ stack build # Usage +## Dumping the issues from Redmine stack exec dump-issues > dump.json + +## Creating the issues in GitLab + +The following environment variables must be set: + + - `GITLAB_ENDPOINT` + - `GITLAB_PRIVATE_TOKEN` + +You can get your private token under "Profile Settings" -> "Account" + +You also need to have the issue dump from redmine as a file: + + export GITLAB_ENDPOINT=https://example.com/gitlab + export GITLAB_PRIVATE_TOKEN=YOURTOKEN + stack exec enter-issues eva.fsi/evaluationsportal ./dump.json