diff --git a/.dockerignore b/.dockerignore index 6cbf964..a955123 100644 --- a/.dockerignore +++ b/.dockerignore @@ -9,3 +9,4 @@ tmp/** .travis-yml docker-compose.yml README.md +sonar-project.properties \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index c4e3d7c..09c5056 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,11 @@ language: ruby +addons: + sonarcloud: + organization: turniere-dhbw env: - RAILS_ENV=test script: + - sonar-scanner - bundle exec rails db:migrate - bundle exec rails spec notifications: diff --git a/README.md b/README.md index 49d2bc4..2db4248 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,23 @@ # turniere-backend -[](https://travis-ci.org/turniere/turniere-backend) [](https://gitlab.com/turniere/turniere-backend/commits/master) [](https://coveralls.io/gitlab/turniere/turniere-backend?branch=master) [](https://houndci.com) [](https://app.codacy.com/app/Malaber/turniere-backend) +[](https://travis-ci.org/turniere/turniere-backend) [](https://gitlab.com/turniere/turniere-backend/commits/master) [](https://coveralls.io/gitlab/turniere/turniere-backend?branch=master) [](https://houndci.com) [](https://app.codacy.com/app/Malaber/turniere-backend) [](https://sonarcloud.io/dashboard?id=turniere_turniere-backend) [](https://codeclimate.com/github/turniere/turniere-backend/maintainability) Ruby on Rails application serving as backend for turnie.re -# Installation -``` +## Installation +```bash # install dependencies $ bundle install # run migrations $ rails db:migrate ``` -# Running +## Running Development (without mail confirmation and separate database): -``` +```bash $ RAILS_ENV=development rails server ``` -# Generate diagrams -``` -rails diagram:all_with_engines +## Generate diagrams +```bash +$ rails diagram:all_with_engines ``` diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index cbd34d2..8dae308 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -1,6 +1,7 @@
+