mirror of https://github.com/docker/docs.git
Update db:create to use latest recommended format (#787)
Latest best practice is use `rails` vice `rake`. http://guides.rubyonrails.org/command_line.html#db
This commit is contained in:
parent
3b037ebd91
commit
855e532435
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue