Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

Commit b6f40fd

Browse files
committed
v0.2.0
1 parent 8fde2f7 commit b6f40fd

File tree

6 files changed

+10
-30
lines changed

6 files changed

+10
-30
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## [0.2.0](https://github.com/fgrehm/devstep/compare/v0.1.0...next) (unreleased)
1+
## [0.2.0](https://github.com/fgrehm/devstep/compare/v0.1.0...v0.2.0) (2014-09-24)
22

33
BREAKING CHANGES:
44

docs/cli/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This one liner can handle it for you assuming that `$HOME/bin` is available
1010
on your `PATH`:
1111

1212
```sh
13-
L=$HOME/bin/devstep && curl -sL https://github.com/fgrehm/devstep-cli/raw/v0.1.0/devstep > $L && chmod +x $L
13+
L=$HOME/bin/devstep && curl -sL https://github.com/fgrehm/devstep-cli/releases/download/v0.1.0/devstep > $L && chmod +x $L
1414
```
1515

1616
Please note that the CLI is currently limited to connecting to a local `/var/run/docker.sock`

docs/cli/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ that a plugin folder should have a `plugin.js` file.
1313

1414
The current functionality is very rudimentary and is likely to be changed so right
1515
now it is best explained by the [squid3-ssl proxy](https://github.com/fgrehm/devstep-squid3-ssl)
16-
plugin source which is currently the plugin available:
16+
plugin source which is currently the only plugin available:
1717

1818
```js
1919
// `_currentPluginPath` is the host path where the JavaScript file is located

docs/cli/tips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ to make it persistent, just set it to a folder that doesn't have that behavior
3030
(like some dir under your `$HOME`).
3131

3232
For example, you can add the line below to your `$HOME/devstep.yml` to configure
33-
cached packages to be kept on `$HOME/devstep-cache`:
33+
cached packages to be kept on `$HOME/devstep/cache`:
3434

3535
```yaml
3636
cache_dir: '{{env "HOME"}}/devstep/cache'

docs/getting-started.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on top of the provided images from `Dockerfile`s.
66

77
Regardless of the flavor you choose, it is a good idea to `docker pull fgrehm/devstep:v0.2.0`
88
before 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
4040
To 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
6262
collected" (aka `docker rm`ed) and no project specific dependencies will be kept
6363
on your machine.
6464

65-
### Taking snapshot of the environment to reduce startup time
65+
### Taking snapshots of the environment to reduce startup time
6666

6767
Building an environment from scratch all the time you need to work on a project
6868
is not very productive. To alleviate that pain you can use the `devstep build`
@@ -126,24 +126,6 @@ have to worry about that.
126126
For example, installing and configuring [memcached](http://memcached.org/) inside
127127
the 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

149131
Assuming you are willing to use Docker / Devstep to avoid cluttering your machine

docs/introduction.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Introduction
22
--------------
33

4-
# TODO: Note that we are using cedarish:cedar14
5-
64
Have you ever deployed an app to a platform like Heroku? How awesome it is to
75
`git push` some code and see it running without worrying about the infrastructure
86
it is going to run on? Now imagine that idea applied to any type of project,
@@ -38,17 +36,17 @@ extracted inside the container.
3836
## Usage
3937

4038
Devstep can be used to build development environments in at least two different
41-
ways: from the provided Bash CLI or from `Dockerfile`s. To run the images built,
39+
ways: from the provided Golang CLI or from `Dockerfile`s. To run the images built,
4240
you can use the provided `devstep hack` command, use other tools (like [Fig](http://orchardup.github.io/fig/))
4341
or just `docker run` them by hand.
4442

4543

4644
## What's included on the base [Docker image](https://registry.hub.docker.com/u/fgrehm/devstep/)?
4745

48-
That image is based on [`progrium/cedarish`](https://github.com/progrium/cedarish),
46+
That image is based on [`progrium/cedarish:cedar14`](https://github.com/progrium/cedarish),
4947
so everything that gets installed by it will be available for `fgrehm/devstep` images.
5048

51-
On top of `progrium/cedarish`, we:
49+
On top of `progrium/cedarish:cedar14`, we:
5250

5351
* Create a `developer` user to avoid using `root` and creating files with wrong permissions during development.
5452
* Install some extra devel packages (like `libyaml-dev`) and other "nice to have"

0 commit comments

Comments
 (0)