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: src/applications/deploying-apps.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@
2
2
3
3
An [Application][] is deployed to Deis using `git push` or the `deis` client.
4
4
5
-
6
5
## Supported Applications
7
6
8
7
Deis can deploy any application or service that can run inside a Docker container. In order to be scaled horizontally, applications must follow the [Twelve-Factor App][] methodology and store any application state in external backing services.
@@ -25,6 +24,20 @@ using the URL supplied by their Deis administrator.
25
24
password:
26
25
Logged in as deis
27
26
27
+
## Upload Your SSH Public Key
28
+
29
+
If you plan on using `git push` to deploy applications to Deis, you must provide your SSH public key. Use the `deis keys:add` command to upload your default SSH public key, usually one of:
30
+
31
+
*~/.ssh/id_rsa.pub
32
+
*~/.ssh/id_dsa.pub
33
+
34
+
```
35
+
$ deis keys:add
36
+
Found the following SSH public keys:
37
+
1) id_rsa.pub
38
+
Which would you like to use with Deis? 1
39
+
Uploading /Users/myuser/.ssh/id_rsa.pub to Deis... done
Copy file name to clipboardExpand all lines: src/using-workflow/registering-a-user.md
+16-29Lines changed: 16 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,7 @@ To use Deis, you must first register a user on the [Controller][].
6
6
## Register with a Controller
7
7
8
8
Use `deis register` with the [Controller][] URL (supplied by your Deis administrator)
9
-
to create a new account. When you have completed the registration process, you will be logged in
10
-
automatically.
9
+
to create a new account. After successful registration you will be logged in as the new user.
11
10
12
11
$ deis register http://deis.example.com
13
12
username: myuser
@@ -18,47 +17,35 @@ automatically.
18
17
Logged in as myuser
19
18
20
19
!!! important
21
-
The first user to register with Deis receives "superuser" privileges. Additional users who
22
-
register will be ordinary users. It's also possible to disable user registration after creating
23
-
the superuser account.
20
+
The first user to register with Deis Workflow is automatically becomes a
21
+
"superuser". Additional users who register will be ordinary users. It's also
22
+
possible to disable user registration after creating the superuser account.
24
23
24
+
## Login to Workflow
25
25
26
-
## Upload Your SSH Public Key
27
-
28
-
If you plan on using `git push` to deploy applications to Deis, you must provide your SSH public key. Use the `deis keys:add` command to upload your default SSH public key, usually one of:
29
-
30
-
*~/.ssh/id_rsa.pub
31
-
*~/.ssh/id_dsa.pub
32
-
33
-
```
34
-
$ deis keys:add
35
-
Found the following SSH public keys:
36
-
1) id_rsa.pub
37
-
Which would you like to use with Deis? 1
38
-
Uploading /Users/myuser/.ssh/id_rsa.pub to Deis... done
39
-
```
26
+
If you already have an account, use `deis login` to authenticate against the Deis Workflow API.
40
27
28
+
$ deis login http://deis.example.com
29
+
username: deis
30
+
password:
31
+
Logged in as deis
41
32
42
-
## Logout from a Controller
33
+
## Logout from Workflow
43
34
44
35
Logout of an existing controller session using `deis logout`.
45
36
46
37
$ deis logout
47
38
Logged out as deis
48
39
40
+
## Verify your session
49
41
50
-
## Login to a Controller
42
+
You can verify your client configuration by running `deis whoami`.
51
43
52
-
If you already have an account, use `deis login` to authenticate against the Deis [Controller][].
53
-
54
-
$ deis login http://deis.example.com
55
-
username: deis
56
-
password:
57
-
Logged in as deis
44
+
$ deis whoami
45
+
You are deis at http://deis.example.com
58
46
59
47
!!! note
60
-
Deis session information is stored in your user's ~/.deis directory.
61
-
48
+
Session and client configuration is stored in the `~/.deis/client.json` file.
0 commit comments