It would have been nicer to also exclude the test and spec folder within the production container, saving some space within that, but the docker COPY statement doesn't allow for that without a workaround. So this is what we will do for now I guess. |
||
|---|---|---|
| app | ||
| bin | ||
| config | ||
| db | ||
| doc | ||
| docker | ||
| kubernetes | ||
| lib/tasks | ||
| public | ||
| spec | ||
| .dockerignore | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .hound.yml | ||
| .rspec | ||
| .rubocop.yml | ||
| .ruby-version | ||
| .travis.yml | ||
| Gemfile | ||
| Gemfile.lock | ||
| README.md | ||
| Rakefile | ||
| config.ru | ||
| docker-compose.yml | ||
| sonar-project.properties | ||
README.md
turniere-backend
Ruby on Rails application serving as backend for turnie.re
Quick install with Docker
Installation
# install dependencies
$ bundle install
# run migrations
$ rails db:migrate
Running
Development (without mail confirmation and separate database):
$ RAILS_ENV=development rails server
Generate diagrams
$ rails diagram:all_with_engines