Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Commit df2aee7

Browse files
khaledsinan
authored andcommitted
post markdown CSS list numbers fix: reformated KD guide
1 parent b3939bf commit df2aee7

1 file changed

Lines changed: 57 additions & 23 deletions

File tree

‎docs/docs/kd/index.md‎

Lines changed: 57 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ KD is a tool to run commands & mount your remote VM files on your local machine.
1212
1. Access your remote VM files and edit them using your favorite local IDE(s).
1313
2. Run commands on your remote VM
1414

15+
## Table of Contents
16+
17+
- [KD requirements](#requirements)
18+
- [Installing KD](#installation)
19+
- [KD commands](#kdcommands)
20+
- [KD help](#kdhelp)
21+
- [Using KD](#using-kd)
22+
- [kd list](#kd-list)
23+
- [kd mount](#kd-mount)
24+
- [kd run](#kd-run)
25+
- [kd update](#kd-update)
26+
- [kd version](#kd-version)
27+
- [kd uninstall](#kd-uninstall)
28+
29+
<a id="requirements"></a>
30+
1531
## KD requirements
1632

1733
Please note that the below is required for successful installation of **KD**:
@@ -20,43 +36,47 @@ Please note that the below is required for successful installation of **KD**:
2036
2. works only on **OSX** and **Linux**
2137
3. **KD** is currently in beta
2238

39+
<a id="installation"></a>
40+
2341
## Installing KD
2442

25-
Click on **STACKS** from the left side bar, and go to **Koding Utilities**
43+
Click on **STACKS** from the left side bar, and go to **Koding Utilities**
2644

2745
![kd-install-command.png][1]
2846

29-
Copy the **kd** install command then paste it in your local machine terminal &amp; run..
47+
Copy the **kd** install command then paste it in your local machine terminal &amp; run..
3048

31-
```
32-
john@johns-mac:~ $curl -sL https://kodi.ng/d/kd | bash -s 901f9a44
33-
Hello, this is the Koding application (kd) installer.
34-
This installer requires sudo permissions, please input password if prompted...
35-
Password:
49+
```yaml
50+
john@johns-mac:~ $curl -sL https://kodi.ng/d/kd | bash -s 901f9a44
51+
Hello, this is the Koding application (kd) installer.
52+
This installer requires sudo permissions, please input password if prompted...
53+
Password:
3654

37-
Downloading kd...
38-
% Total % Received % Xferd Average Speed Time Time Time Current
39-
Dload Upload Total Spent Left Speed
40-
100 11.0M 100 11.0M 0 0 160k 0 0:01:10 0:01:10 --:--:-- 242k
41-
Created /usr/local/bin/kd
55+
Downloading kd...
56+
% Total % Received % Xferd Average Speed Time Time Time Current
57+
Dload Upload Total Spent Left Speed
58+
100 11.0M 100 11.0M 0 0 160k 0 0:01:10 0:01:10 --:--:-- 242k
59+
Created /usr/local/bin/kd
4260

43-
Downloading...
44-
Created /opt/kite/klient/klient
45-
Authenticating you to the KD Daemon
61+
Downloading...
62+
Created /opt/kite/klient/klient
63+
Authenticating you to the KD Daemon
4664

47-
Authenticated successfully
48-
Created /etc/kite/kite.key
49-
Verifying installation...
65+
Authenticated successfully
66+
Created /etc/kite/kite.key
67+
Verifying installation...
5068

51-
Successfully installed and started the KD Daemon!
52-
Success! kd has been successfully installed. Please run the
53-
following command for more information:
69+
Successfully installed and started the KD Daemon!
70+
Success! kd has been successfully installed. Please run the
71+
following command for more information:
5472

55-
kd -h
73+
kd -h
5674

57-
john@johns-mac:~ $
75+
john@johns-mac:~ $
5876
```
5977

78+
<a id="kdcommands"></a>
79+
6080
## KD full list of commands
6181

6282
You can get a list of KD commands using `kd help`
@@ -90,6 +110,7 @@ COMMANDS:
90110
open Open the given file(s) on the Koding UI
91111
help, h Shows a list of commands or help for one command
92112
```
113+
<a id="kdhelp"></a>
93114

94115
## KD help
95116

@@ -113,11 +134,14 @@ DESCRIPTION
113134
that does a lot of filesystem operations like git,
114135
use --oneway-sync.
115136
```
137+
<a id="using-kd"></a>
116138

117139
## Using KD
118140

119141
Here's a list of the common KD commands
120142

143+
<a id="kd-list"></a>
144+
121145
### kd list
122146

123147
Run `kd list` to view all your Koding cloud VMs:
@@ -128,6 +152,8 @@ Run `kd list` to view all your Koding cloud VMs:
128152
1. bloom example_1 52.49.116.216 grape
129153
```
130154

155+
<a id="kd-mount"></a>
156+
131157
### kd mount < vm alias > < local mount folder >
132158

133159
Run `kd mount` to mount your cloud VM(s) to a local folder and start editing your files using your favorite local editors. You can use the **ALIAS** name to mount your VM:
@@ -146,10 +172,14 @@ You have now mounted the cloud VM on a local folder called '_grape_'. You can mo
146172

147173
> Use the `-p` option with `kd mount` if you have a slow connection. It will force **kd** to retrieve only top level folder/files. Rest is fetched on request (fastest to mount). For more options run `kd help mount`
148174
175+
<a id="kd-run"></a>
176+
149177
### kd run < command >
150178

151179
`kd run` is very useful as you can use it to run commands on your remote VM.
152180

181+
<a id="kd-update"></a>
182+
153183
### kd update
154184

155185
`kd update` will update **kd** to the newest version
@@ -162,6 +192,8 @@ Stopping KD Daemon...
162192
Successfully updated to latest version of kd.
163193
```
164194

195+
<a id="kd-version"></a>
196+
165197
### kd version
166198

167199
`kd version` will show the installed **kd** version
@@ -174,6 +206,8 @@ Environment: production
174206
Kite Query ID: a7e1e03f-7f01-47a3-b4ac-2566b5256564
175207
```
176208

209+
<a id="kd-uninstall"></a>
210+
177211
### kd uninstall
178212

179213
`sudo kd uninstall` will uninstall **kd** from your local machine.

0 commit comments

Comments
 (0)