Getting started
Requirements
-
You must have Python 3.6 or later installed. For installation instructions, see the Downloading Python page in Python's Beginner Guide.
-
An API Token with the following scopes:
In order to create a new API token, please refer to our docs1 2 3 4 5 6 7 8
* me:list * river:execute * river:edit * river:list * river:delete * connection:edit * connection:list * connection:delete
Install
Install Rivery CLI, by using the next command:
1 |
|
Check Installation
In order to see if Rivery CLI was installed in your client, check the version option by the next command:
1 |
|
Result should be:
1 |
|
Initiate a new project
in order to start new project: 1. create new project directory, for example in linux base OS:
1 |
|
1 |
|
- Go into the
my-project
directory you've created:cd my-project
- run the next command and choose your project name.
1
> rivery init
Create the first profile
Rivery CLI store defaults and credentials under an "entity" called profile
.
Each profile has its name and the configurations under it. Due to every API token refers
to specific account
+environment
inside your Rivery console, and every account+environment pair has
its own credentials, it is likely you'll have a profile per each account+environment coupling.
For creating your first profile use the next command:
1 |
|
And Follow the prompt:
1 2 3 4 |
|
And you're good to go!