- Make sure both
dockeranddocker-composeis installed on your system. Make sure the daemon running. - Clone the git directory and open it in a terminal.
- To start normally, run
docker-compose up --build -d
3.1 To start with the test container as well, rundocker-compose --profile test up --build -d
3.2 To read the results of the tests rundocker logs -ft primary_service_testand read the results.
3.3 On linux. To see what was tested you can rungo tool cover -html=coverage/coverage.htmlfrom the projects root directory. This requires havinggoinstalled. - To shut it down, run
docker-compose down.
4.1 If you ran the tests as well, rundocker-compose --profile test downinstead. - Connect via localhost:8080
There is a default admin user called bob_admin with password bob. You can find the api routes in /swagger/index.html, all routes have /v1/ as a prefix.