You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,22 @@ This instructs Vagrant to spin up 3 VMs. To be able to connect to the VMs, you m
50
50
$ ssh-add ~/.vagrant.d/insecure_private_key
51
51
```
52
52
53
+
## Configure Deis
54
+
55
+
Before Deis will start successfully, there are a few administrative settings we need to provide.
56
+
57
+
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:
58
+
59
+
```console
60
+
$ deisctl config platform set domain=local3.deisapp.com
61
+
```
62
+
63
+
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:
64
+
65
+
```console
66
+
$ deisctl config platform set sshPrivateKey=~/.vagrant.d/insecure_private_key
67
+
```
68
+
53
69
## Provision Deis
54
70
55
71
Install the [deisctl utility](deisctl#installation) used to provision and operate Deis.
@@ -75,22 +91,6 @@ This can take some time - the **builder** must download and install the beefy He
75
91
76
92
Your Deis platform should be accessible at `deis.local3.deisapp.com`. For clusters on other platforms see our guide to [Configuring DNS](http://docs.deis.io/en/latest/installing_deis/configure-dns/).
77
93
78
-
## Configure Deis
79
-
80
-
Now that Deis is running there are a few administrative settings we need to provide.
81
-
82
-
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:
83
-
84
-
```console
85
-
$ deisctl config platform set domain=local3.deisapp.com
86
-
```
87
-
88
-
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:
89
-
90
-
```console
91
-
$ deisctl config platform set sshPrivateKey=~/.vagrant.d/insecure_private_key
92
-
```
93
-
94
94
## Install the Deis Client
95
95
96
96
If you're using the latest Deis release, use `pip install --upgrade deis` to install the latest [Deis Client](https://pypi.python.org/pypi/deis/) or download [pre-compiled binaries](https://github.com/deis/deis/tree/master/client#get-started).
Copy file name to clipboardExpand all lines: contrib/bare-metal/README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,15 +53,6 @@ and specify that version by appending the `-V` parameter to the install command,
53
53
54
54
After the installation has finished reboot your server. Once your machine is back up you should be able to log in as the `core` user using the `deis` ssh key.
55
55
56
-
## Initialize the cluster
57
-
Once your server(s) are all provisioned you can proceed to install Deis. Use the hostname of one of your machines in the next step.
Copy file name to clipboardExpand all lines: contrib/digitalocean/README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,15 +60,6 @@ droplet size. The default is 8 GB. Specify the size with NGB, where N is 2, 4, 8
60
60
61
61
This will print the IP addresses of the initialized machines.
62
62
63
-
## Initialize the cluster
64
-
set DEISCTL_TUNNEL to one of the IPs of the virtual machines (these are printed on the console in a previous step). You can also login to the web interface of DigitalOcean to see the Public IP addresses.
Deisctl will deploy Deis and make sure the services are started properly. Grab a coffee.
71
-
72
63
## Configure Deis
73
64
Set the default domain used to anchor your applications:
74
65
@@ -84,6 +75,15 @@ If you want to allow `deis run` for one-off admin commands, you must provide an
84
75
$ deisctl config platform set sshPrivateKey=<path-to-private-key>
85
76
```
86
77
78
+
## Initialize the cluster
79
+
set DEISCTL_TUNNEL to one of the IPs of the virtual machines (these are printed on the console in a previous step). You can also login to the web interface of DigitalOcean to see the Public IP addresses.
This operation will take a while as all the Deis systemd units are loaded into the CoreOS cluster and the Docker images are pulled down. Grab some iced tea!
315
-
316
-
Once the command completes and `deisctl list` shows services as running, you can set the default domain used to anchor your applications:
308
+
Now set the default domain used to anchor your applications:
317
309
318
310
```console
319
311
$ deisctl config platform set domain=mycluster.local
@@ -327,6 +319,14 @@ If you want to allow `deis run` for one-off admin commands, you must provide an
327
319
$ deisctl config platform set sshPrivateKey=<path-to-private-key>
This operation will take a while as all the Deis systemd units are loaded into the CoreOS cluster and the Docker images are pulled down. Grab some iced tea!
329
+
330
330
Register the admin user. The first user added to the system becomes the admin:
0 commit comments