Skip to content

Commit

Permalink
Update db:create to use latest recommended format (docker#787)
Browse files Browse the repository at this point in the history
Latest best practice is use `rails` vice `rake`.
http://guides.rubyonrails.org/command_line.html#db
  • Loading branch information
stevensona authored and johndmulhausen committed Dec 8, 2016
1 parent 3b037eb commit 855e532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose/rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ seconds—the familiar refrain:

Finally, you need to create the database. In another terminal, run:

docker-compose run web rake db:create
docker-compose run web rails db:create

That's it. Your app should now be running on port 3000 on your Docker daemon. If you're using [Docker Machine](/machine/overview.md), then `docker-machine ip MACHINE_VM` returns the Docker host IP address.

Expand Down

0 comments on commit 855e532

Please sign in to comment.