Leverans

Installation

Leverans consists of two parts: the Server and the CLI. Both of them must be installed for the system to work.

Server side

Installing server side is essentially running the docker service in a docker swarm cluster.

Requirements:

To install, run this script in the server. The script must be run via sudo if it doesn't work without it.

curl -sSL "https://leverans.dev/manager.sh?e=your-email@gmail.com" | sudo sh

After that, you should in a few minutes you should get a successful installation message and next steps.

Client side (CLI)

The CLI tool will also be downloaded via a bash/powershell script. Administrator right is mandatory. A binary specifically for your OS and architecture will be downloaded and installed.

Requirements:

Run this command in the computer where you have the code.

with Powershell

You can change iwr to whatever you have installed in your device.

iwr -useb "https://leverans.dev/install?os=win" | iex

with Bash

You can change curl to whatever you have installed in your device.

curl -sSL "https://leverans.dev/install" | sudo sh

Self Compilation

If you want to compile the CLI from source yourself, clone the repository, navigate to the root folder (Leverans folder), and run the command (rustup must be installed):

cargo build --release -p lev

And longer move the binary to where all the binaries on the system are stored or set up a PATH variable.

Successful installed

Run the command to see if the CLI was successfully installed:

lev version