Skip to content

Latest commit

History

History
18 lines (15 loc) 路 703 Bytes

DockerCompose.md

File metadata and controls

18 lines (15 loc) 路 703 Bytes

Docker Compose for contributors

This gem includes different adapters which require specific tools instaled on local machine. With docker this could be achieved inside container and new contributor could start working on code with a minumum efforts.

Steps:

  1. Install Docker Compose https://docs.docker.com/compose/install
  2. Build the app container docker-compose build
  3. Install gems docker-compose run --rm app bundle install
  4. Run specs docker-compose run --rm app bundle exec rspec
  5. Run tests docker-compose run --rm app bundle exec rake test
  6. Optional: log in to container an using a bash shell for running specs
docker-compose run --rm app bash
bundle exec rspec