Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 662 Bytes

docker.md

File metadata and controls

27 lines (17 loc) · 662 Bytes

Environment Setup

Docker

Refer to the installation docs to have Docker installed in your development machine. Then, run the following:

  1. Build image:
docker-compose build
  1. Start the web server:
docker-compose up
  1. 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)