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
+47-24Lines changed: 47 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,22 @@
7
7
8
8
# Scaleway CLI (v2)
9
9
10
-
**:warning: This version is under active development, keep in mind that things can break. We advise you to not use this version in production.**
10
+
**:warning: This version is under active development, keep in mind that things can break.**
11
11
12
12
Scaleway is a single way to create, deploy and scale your infrastructure in the cloud. We help thousands of businesses to run their infrastructures easily.
13
13
14
14
If you are looking for a stable version, [see the version 1](https://github.com/scaleway/scaleway-sdk-go).
15
15
16
+
# Getting Started
17
+
18
+
After you [installed](#Installation) the latest release just run the initialization command and let yourself be guided! :dancer:
19
+
20
+
```bash
21
+
scw init
22
+
```
23
+
24
+
It will set up your profile, the authentication, and the auto-completion.
25
+
16
26
# Installation
17
27
18
28
<!--- TODO:
@@ -47,24 +57,41 @@ TODO: Add other package managers:
47
57
48
58
## Manually
49
59
50
-
### Compiled Release Binaries
51
-
52
-
We provide [static-compiled release binaries](https://github.com/scaleway/scaleway-cli/releases/latest) for darwin (macOS), GNU/Linux, and Windows platforms.
60
+
### Released Binaries
53
61
62
+
We provide [static-compiled binaries](https://github.com/scaleway/scaleway-cli/releases/latest) for darwin (macOS), GNU/Linux, and Windows platforms.
54
63
You just have to download the binary compatible with your platform to a directory available in your `PATH`:
For Windows, [this official guide](https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ee537574(v=office.14)) explains how to add tools to your `PATH`.
You can download the last release here: https://github.com/scaleway/scaleway-cli/releases/download/v2.0.0-alpha1/scw-windows-x86_64<br/>
92
+
[This official guide](https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ee537574(v=office.14)) explains how to add tools to your `PATH`.
93
+
94
+
<!-- TODO:
68
95
69
96
### Debian
70
97
@@ -80,7 +107,6 @@ Then, run the installation and remove the `.deb` file:
80
107
dpkg -i /tmp/scw.deb && rm -f /tmp/scw.deb
81
108
```
82
109
83
-
<!-- TODO:
84
110
## With a Docker Image
85
111
86
112
For each release, we deliver a tagged image on the [Scaleway Docker Hub](https://hub.docker.com/r/scaleway/cli/tags) so can run `scw` in a sandboxed way: _Coming soon..._
@@ -92,28 +118,23 @@ docker run scaleway/cli version
92
118
93
119
## Build Locally
94
120
95
-
If you have a >= Go 1.11 environment, you can install the `HEAD` version to test the latest features or to [contribute](CONTRIBUTING.md).
121
+
If you have a >= Go 1.13 environment, you can install the `HEAD` version to test the latest features or to [contribute](CONTRIBUTING.md).
96
122
Note that this development version could include bugs, use [tagged releases](https://github.com/scaleway/scaleway-cli/releases/latest) if you need stability.
97
123
98
124
```bash
99
125
go get github.com/scaleway/scaleway-cli/cmd/scw
100
126
```
101
127
102
-
Dependancies: We only use go [Go Modules](https://github.com/golang/go/wiki/Modules) with vendoring.
103
-
104
-
# Getting Started
128
+
Dependencies: We only use go [Go Modules](https://github.com/golang/go/wiki/Modules) with vendoring.
105
129
106
-
Just run the initialization command and let yourself be guided! :dancer:
130
+
# Examples
107
131
108
-
```bash
109
-
scw init
132
+
## Create an instance server
133
+
```
134
+
scw instance server create type=DEV1-S image=ubuntu-bionic zone=fr-par-1 tags.0="scw-cli"
110
135
```
111
136
112
-
It will set up your profile, the authentication, and the auto-completion.
113
-
114
-
# Examples
115
-
116
-
TODO: Add a list of examples here.
137
+
TODO: Add more examples here.
117
138
118
139
# Tutorials
119
140
@@ -127,4 +148,6 @@ If you are looking for a way to contribute please read [CONTRIBUTING.md](CONTRIB
127
148
# Reach Us
128
149
129
150
We love feedback.
130
-
Feel free to reach us on [Scaleway Slack community](https://slack.scaleway.com/), we are waiting for you on [#opensource](https://scaleway-community.slack.com/app_redirect?channel=opensource).
151
+
Don't hesitate to open a [Github issue](https://github.com/scaleway/scaleway-cli/issues/new) or
152
+
feel free to reach us on [Scaleway Slack community](https://slack.scaleway.com/),
153
+
we are waiting for you on [#opensource](https://scaleway-community.slack.com/app_redirect?channel=opensource).
0 commit comments