User service of Stay Safe project
$ docker-compose build
$ docker-compose up
$ docker-compose run api sh -c "pylint **/*.py"
$ docker-compose run api coverage run -m pytest
$ docker run -d --name sonarqube -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true -p 9000:9000 sonarqube:latest
$ docker run -ti -v $(pwd):/usr/src --link sonarqube newtmitch/sonar-scanner -Dsonar.projectName="User Service" -Dsonar.projectKey=userservice
Link to see the scans projects: http://localhost:9000/projects
$ docker-compose run api coverage report -m
$ sudo docker-compose run api sh -c "python3 ./static/save_on_db.py"