Skip to main content

Reva CLI

image

The Reva CLI is used to manage Lendsmart deployment from the command line.

PyPI PyPI

The primary intent is:

  • mirror prod and QA
  • make the deploys smooth with no manual intervention.

Overview

The goals of this project is to make deployments more flexible, and make the deployments faster.

Installation

pip install lendmart_reva

Configuration

Step 1: export


# Here the home is the root user home directory
export LENDSMART_REVA_HOME=$HOME (or)

# Here the home is the directory `/home/makesh`
export LENDSMART_REVA_HOME="/home/makesh"

# Here the ui home is the path to where the code of ui exists
export LENDSMART_REVA_UI_HOME='/home/makesh/ui'

# Here the ui home is the path to where the code of worklet exists
export LENDSMART_REVA_WORKLET_HOME="/home/makesh/worklet"

Step 3: mkdir reva


cd $LENDSMART_REVA_HOME

mkdir $LENDSMART_REVA_HOME/reva

Step 3: reva.conf

Copy the conf file to location $LENDSMART_REVA_HOME/reva/config.json

{
  "dev": {
    "api_root": "https://devapi.lendsmart.ai/api/v1",
    "application_graphql_endpoint": "https://devappgraphql.lendsmart.ai/v1/graphql",
    "application_graphql_auth_token": "",
    "lendsmart_access_token": "<dev-lendsmart-access-token>"
  },
  "uat": {
    "api_root": "https://testapi.lendsmart.ai/api/v1",
    "application_graphql_endpoint": "https://devappgraphql.lendsmart.ai/v1/graphql",
    "application_graphql_auth_token": "",
    "lendsmart_access_token": "<dev-lendsmart-access-token>"
  },
  "prod": {
    "api_root": "https://apiprod.lendsmart.ai/api/v1",
    "application_graphql_endpoint": "https://devappgraphql.lendsmart.ai/v1/graphql",
    "application_graphql_auth_token": "",
    "lendsmart_access_token": "<prod-lendsmart-access-token>"
  }
}

💁 Please update the aut_token, namespace and lendsmart_access_token for the appropriate environments. This is purposefully left out for security reasons.

Command Topics

References

CLI Configuration conf/reva.py

Release files for lendsmart-reva 2.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lendsmart-reva 2.15
File Size Uploaded
lendsmart_reva-2.15.tar.gz 31.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lendsmart-reva 2.15
File Interpreter ABI Platform
lendsmart_reva-2.15-py3-none-any.whl Python 3 none any Details

Total release size: 89.6 kB

Release files / lendsmart_reva-2.15.tar.gz

Download URL lendsmart_reva-2.15.tar.gz
Size 31.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8af7a6ea7264ba1ccfab1d4d7d58eb9307024523894e90d5504b7c39a2d733b0
BLAKE2b-256 checksum
How to use checksums
6db522b7d36b2d949f31e07fac8bac3104b624a39e7a22fdfded6e0a2df16f82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.6

Release files / lendsmart_reva-2.15-py3-none-any.whl

Download URL lendsmart_reva-2.15-py3-none-any.whl
Size 58.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a5956456655494ff81518f003f5a76f690ba20f9fffc1d1c64c499bbb2f6506
BLAKE2b-256 checksum
How to use checksums
f7111d0025248129f5c45107f0911b837fc4797207682ffc3ba4991508b18404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.6

Release history Release notifications | RSS feed

This release

2.15 This release

2 release files

2.14

2 release files

2.13

2 release files

2.12

2 release files

2.11

2 release files

2.7

2 release files

2.6

2 release files

2.5

2 release files

2.4

2 release files

2.3

2 release files

2.2

2 release files

2.1

2 release files

1.9

2 release files

1.8

2 release files

1.7

2 release files

1.6

2 release files

1.5

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page