No project description provided
Project description
Overview
Rivery CLI is an amazing way to manage, deploy, run and edit rivers inside Rivery.
The rivers are configured only by .yaml
files, as a configuration files, makes this CLI as a basic
of Infrastructure As Code (IaC) methodology.
In order to start using the tool, go to the Getting Started page.
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:
* river:execute
* river:edit
* river:list
* river:delete
* connection:edit
* connection:list
* connection:delete
In order to create a new API token, please refer to our docs
Install
Install Rivery CLI, by using the next command:
pip install -U rivery-cli
Initiate a new project
in order to start new project:
- create new project directory, for example in linux base OS:
> mkdir /home/my-project
or in windows:
> mkdir c:\my-project
- Go into the
my-project
directory you've created:cd my-project
- run the next command and choose your project name.
> 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:
> rivery configure
And Follow the prompt:
> Please enter your token. (******): ...
> Choose your Region () [...]: ...
> Thank you for entering auth credentials.
> Please check your profile at: ~/.rivery/auth
And you're good to go!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.