@@ -6,7 +6,7 @@ on top of the provided images from `Dockerfile`s.
66
77Regardless of the flavor you choose, it is a good idea to ` docker pull fgrehm/devstep:v0.2.0 `
88before creating your first container / image for a better user experience. Docker
9- will download that image as needed when using ` Dockerfile ` s but the CLI isn 't.
9+ will download that image as needed when using ` Dockerfile ` s but the Devstep CLI won 't.
1010
1111## Sanity check
1212---------------
@@ -40,7 +40,7 @@ line to your `~/devstep.yml` so that the image is used as a source for your proj
4040To install the CLI, you can run the one liner below and read on for more:
4141
4242``` sh
43- L=$HOME /bin/devstep && curl -sL https://github.com/fgrehm/devstep-cli/raw /v0.1.0/devstep > $L && chmod +x $L
43+ L=$HOME /bin/devstep && curl -sL https://github.com/fgrehm/devstep-cli/releases/download /v0.1.0/devstep > $L && chmod +x $L
4444```
4545
4646_ The snippet above assumes ` $HOME/bin ` is on your PATH, change ` $HOME/bin ` to
@@ -62,7 +62,7 @@ When you are done hacking, just `exit` the container and it will be "garbage
6262collected" (aka ` docker rm ` ed) and no project specific dependencies will be kept
6363on your machine.
6464
65- ### Taking snapshot of the environment to reduce startup time
65+ ### Taking snapshots of the environment to reduce startup time
6666
6767Building an environment from scratch all the time you need to work on a project
6868is not very productive. To alleviate that pain you can use the ` devstep build `
@@ -126,24 +126,6 @@ have to worry about that.
126126For example, installing and configuring [ memcached] ( http://memcached.org/ ) inside
127127the container is a matter of running ` configure-addons memcached ` from there.
128128
129- ### Binstubs
130-
131- commands:
132- # This can be run with ` devstep run server `
133- server:
134- cmd: [ "rails", "server"]
135- # Here you can use some of the configs described above
136- publish: [ "3000:3000"]
137- volumes:
138- - '{{env "HOME"}}/certs/some-certificate.crt:/.devstep/some-certificate.crt'
139- - '{{env "HOME"}}/projects/some-gem-sources:/.devstep/some-gem-sources'
140- links:
141- - 'redis: redis '
142- environment:
143- RAILS_ENV: "hacking"
144- ruby:
145- # No custom options, used only for generating binstubs
146-
147129### Bootstrapping a new project (AKA solving the chicken or the egg problem)
148130
149131Assuming you are willing to use Docker / Devstep to avoid cluttering your machine
0 commit comments