Skip to content

Commit

Permalink
Order steps for deis installation (vagrant)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmoya committed Oct 27, 2014
1 parent de812f1 commit a2c7087
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,36 +50,38 @@ This instructs Vagrant to spin up 3 VMs. To be able to connect to the VMs, you m
$ ssh-add ~/.vagrant.d/insecure_private_key
```

## Configure Deis

Before Deis will start successfully, there are a few administrative settings we need to provide.
## Install deisctl

Set the default domain used to anchor your applications. For a Vagrant environment, use `local3.deisapp.com` as it will resolve to your local routers:
Install the [deisctl utility](deisctl#installation) used to provision and operate Deis.

```console
$ deisctl config platform set domain=local3.deisapp.com
$ curl -sSL http://deis.io/deisctl/install.sh | sh
```

If you want to allow `deis run` for one-off admin commands, you must provide an SSH private key that allows Deis to gather container logs on CoreOS hosts:
Export `DEISCTL_TUNNEL` so you can connect to one of the VMs using the `deisctl` client on your workstation.

```console
$ deisctl config platform set sshPrivateKey=~/.vagrant.d/insecure_private_key
$ export DEISCTL_TUNNEL=172.17.8.100
```

## Provision Deis
## Configure Deis

Install the [deisctl utility](deisctl#installation) used to provision and operate Deis.
Before Deis will start successfully, there are a few administrative settings we need to provide.

Set the default domain used to anchor your applications. For a Vagrant environment, use `local3.deisapp.com` as it will resolve to your local routers:

```console
$ curl -sSL http://deis.io/deisctl/install.sh | sh
$ deisctl config platform set domain=local3.deisapp.com
```

Export `DEISCTL_TUNNEL` so you can connect to one of the VMs using the `deisctl` client on your workstation.
If you want to allow `deis run` for one-off admin commands, you must provide an SSH private key that allows Deis to gather container logs on CoreOS hosts:

```console
$ export DEISCTL_TUNNEL=172.17.8.100
$ deisctl config platform set sshPrivateKey=~/.vagrant.d/insecure_private_key
```

## Provision Deis

Use `deisctl install platform` to install all Deis components across the cluster, then `deisctl start platform` to start them.

```console
Expand Down

0 comments on commit a2c7087

Please sign in to comment.