diff --git a/README.md b/README.md index f75b018c9..c630f3a1b 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,18 @@ The Rails server will start on . ```sh docker-compose build -docker-compose run --rm app rails db:create -docker-compose up ``` +To be able to debug with Pry run the app using +```sh +docker-compose run --service-ports app +``` + +If this is not needed you can run `docker-compose up` as normal + The Rails server will start on . -Note `docker-compose` runs the production docker image (`RAILS_ENV=production`) as the Dockerfile doesn’t include development gems to keep the image size down. + ## Infrastructure