Browse Source

Add db seed for docker-compose instructions to readme

pull/275/head
baarkerlounger 3 years ago
parent
commit
17d6662b8b
  1. 15
      README.md

15
README.md

@ -39,13 +39,14 @@ The Rails server will start on <http://localhost:3000>.
### Using Docker ### Using Docker
```sh 1. Build the image:\
docker-compose build `docker-compose build`
```
To be able to debug with Pry run the app using 2. Seed the database if required:\
```sh `docker-compose run --rm app /bin/bash -c 'rake db:seed'`
docker-compose run --service-ports app
``` 3. To be able to debug with Pry run the app using:\
`docker-compose run --service-ports app`
If this is not needed you can run `docker-compose up` as normal If this is not needed you can run `docker-compose up` as normal

Loading…
Cancel
Save