Fix readme formatting

This commit is contained in:
Ben Firshman 2013-12-09 12:03:26 +00:00
parent 84ea31dc92
commit ed1918ef09

View File

@ -136,9 +136,11 @@ Running a one-off command
If you want to run a management command, use `plum run` to start a one-off container: If you want to run a management command, use `plum run` to start a one-off container:
```bash
$ plum run db createdb myapp_development $ plum run db createdb myapp_development
$ plum run web rake db:migrate $ plum run web rake db:migrate
$ plum run web bash $ plum run web bash
```
Running more than one container for a service Running more than one container for a service
@ -146,6 +148,7 @@ Running more than one container for a service
You can set the number of containers to run for each service with `plum scale`: You can set the number of containers to run for each service with `plum scale`:
```bash
$ plum up -d $ plum up -d
db is running at 127.0.0.1:45678 db is running at 127.0.0.1:45678
web is running at 127.0.0.1:45679 web is running at 127.0.0.1:45679
@ -154,6 +157,4 @@ You can set the number of containers to run for each service with `plum scale`:
Stopped db (127.0.0.1:45678) Stopped db (127.0.0.1:45678)
Started web (127.0.0.1:45680) Started web (127.0.0.1:45680)
Started web (127.0.0.1:45681) Started web (127.0.0.1:45681)
```