Refer to the installation docs to have Docker installed in your development machine. Then, run the following:
- Build image:
docker-compose build
- Start the web server:
docker-compose up
- Run tests:
docker-compose run web bundle exec rspec
NOTE: When installing new gems, you will have to rebuild the docker image by re-running docker-compose build
.
NOTE: If you are having trouble with volumes on Windows, try setting COMPOSE_CONVERT_WINDOWS_PATHS to 0 in your environment. (eg. set COMPOSE_CONVERT_WINDOWS_PATHS=0
)