Reva CLI
==========
![image](https://user-images.githubusercontent.com/1402479/200783457-550bf8bc-4bc8-4571-b995-829bc2f9b2b1.png)
The Reva CLI is used to manage Lendsmart deployment from the command line.
[![PyPI](https://img.shields.io/pypi/v/lendsmart-reva.svg)](https://pypi.python.org/pypi/lendsmart-reva)
[![PyPI](https://img.shields.io/pypi/pyversions/lendsmart-reva.svg)](https://pypi.python.org/pypi/lendsmart-reva)
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`
```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>"
},
"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.
<!-- commands -->
# Command Topics
* [`reva namespaces`](docs/namespaces.md) - manage namespaces on Lendsmart
* [`reva workflows`](docs/workflow.md) - manage workflow configuration
* [`reva loanproducts`](docs/loanproducts.md) - manage loanproducts configuration
* [`reva sitesettings`](docs/sitesettings.md) - manage sitesettings configuration
* [`reva worklet`](docs/worklet.md) - manage worklet configuration
<!-- commandsstop -->
References
==========
> [CLI](https://github.com/ceph/ceph-deploy)
> [Configuration conf/reva.py](https://github.com/ceph/ceph-deploy/blob/a16316fc4dd364135b11226df42d9df65c0c60a2/ceph_deploy/conf/ceph.py)
Raw data
{
"_id": null,
"home_page": "https://github.com/lendsmartlabs",
"name": "lendsmart-reva",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "lendsmart reva",
"author": "Lendsmart",
"author_email": "accounts@lendsmart.ai",
"download_url": "https://files.pythonhosted.org/packages/0a/15/7c8bd79d68023709e33488079c1befad43195dc5373cfcd4e4bf13705701/lendsmart_reva-2.12.tar.gz",
"platform": null,
"description": "Reva CLI\n==========\n![image](https://user-images.githubusercontent.com/1402479/200783457-550bf8bc-4bc8-4571-b995-829bc2f9b2b1.png)\n\n\n\nThe Reva CLI is used to manage Lendsmart deployment from the command line. \n\n[![PyPI](https://img.shields.io/pypi/v/lendsmart-reva.svg)](https://pypi.python.org/pypi/lendsmart-reva)\n[![PyPI](https://img.shields.io/pypi/pyversions/lendsmart-reva.svg)](https://pypi.python.org/pypi/lendsmart-reva)\n\nThe primary intent is:\n\n- mirror prod and QA\n- make the deploys smooth with no manual intervention.\n\n\nOverview\n========\n\nThe goals of this project is to make deployments more flexible, and make the deployments faster.\n\nInstallation\n============\n\n```\npip install lendmart_reva\n```\n\nConfiguration\n=============\n\n### Step 1: export\n\n```\n\n# Here the home is the root user home directory\nexport LENDSMART_REVA_HOME=$HOME (or)\n\n# Here the home is the directory `/home/makesh`\nexport LENDSMART_REVA_HOME=\"/home/makesh\"\n\n# Here the ui home is the path to where the code of ui exists\nexport LENDSMART_REVA_UI_HOME='/home/makesh/ui'\n\n# Here the ui home is the path to where the code of worklet exists\nexport LENDSMART_REVA_WORKLET_HOME=\"/home/makesh/worklet\"\n\n```\n\n### Step 3: mkdir reva\n\n```\n\ncd $LENDSMART_REVA_HOME\n\nmkdir $LENDSMART_REVA_HOME/reva\n\n```\n\n### Step 3: reva.conf \n\nCopy the conf file to location `$LENDSMART_REVA_HOME/reva/config.json`\n\n```json\n{\n \"dev\": {\n \"api_root\": \"https://devapi.lendsmart.ai/api/v1\",\n \"application_graphql_endpoint\": \"https://devappgraphql.lendsmart.ai/v1/graphql\",\n \"application_graphql_auth_token\": \"\",\n \"lendsmart_access_token\": \"<dev-lendsmart-access-token>\"\n },\n \"prod\": {\n \"api_root\": \"https://apiprod.lendsmart.ai/api/v1\",\n \"application_graphql_endpoint\": \"https://devappgraphql.lendsmart.ai/v1/graphql\",\n \"application_graphql_auth_token\": \"\",\n \"lendsmart_access_token\": \"<prod-lendsmart-access-token>\"\n }\n}\n```\n\n\ud83d\udc81 Please update the aut_token, namespace and lendsmart_access_token for the appropriate environments. This is purposefully left out for security reasons.\n\n\n<!-- commands -->\n# Command Topics\n\n* [`reva namespaces`](docs/namespaces.md) - manage namespaces on Lendsmart\n* [`reva workflows`](docs/workflow.md) - manage workflow configuration\n* [`reva loanproducts`](docs/loanproducts.md) - manage loanproducts configuration\n* [`reva sitesettings`](docs/sitesettings.md) - manage sitesettings configuration\n* [`reva worklet`](docs/worklet.md) - manage worklet configuration\n\n\n\n<!-- commandsstop -->\n\nReferences\n==========\n\n> [CLI](https://github.com/ceph/ceph-deploy)\n> [Configuration conf/reva.py](https://github.com/ceph/ceph-deploy/blob/a16316fc4dd364135b11226df42d9df65c0c60a2/ceph_deploy/conf/ceph.py)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Lendsmart opinionated tool to mirror QA to Prod. Deploy with ease.",
"version": "2.12",
"project_urls": {
"Homepage": "https://github.com/lendsmartlabs"
},
"split_keywords": [
"lendsmart",
"reva"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2aff4fd5358e107ec9991b8e159f959d30005ebbf2a711a2cdb7665c170b513e",
"md5": "1d267d41ef92e8ebe24aae773c8ad39c",
"sha256": "b8953fb8eb714bf6c0c6ae48e49ceba75fe065fd94e47630931f9bb0c8b3565d"
},
"downloads": -1,
"filename": "lendsmart_reva-2.12-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1d267d41ef92e8ebe24aae773c8ad39c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 57150,
"upload_time": "2024-04-12T12:18:14",
"upload_time_iso_8601": "2024-04-12T12:18:14.481990Z",
"url": "https://files.pythonhosted.org/packages/2a/ff/4fd5358e107ec9991b8e159f959d30005ebbf2a711a2cdb7665c170b513e/lendsmart_reva-2.12-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0a157c8bd79d68023709e33488079c1befad43195dc5373cfcd4e4bf13705701",
"md5": "380c617b2751710ba33663d7d3ee2b03",
"sha256": "2694adb854a69ab5ed1416cef15edd4e0b0b427ddaa3c0c11c841bcf49531afc"
},
"downloads": -1,
"filename": "lendsmart_reva-2.12.tar.gz",
"has_sig": false,
"md5_digest": "380c617b2751710ba33663d7d3ee2b03",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 30261,
"upload_time": "2024-04-12T12:18:16",
"upload_time_iso_8601": "2024-04-12T12:18:16.627796Z",
"url": "https://files.pythonhosted.org/packages/0a/15/7c8bd79d68023709e33488079c1befad43195dc5373cfcd4e4bf13705701/lendsmart_reva-2.12.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-12 12:18:16",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "lendsmart-reva"
}