4.4.14 • Published 1 year ago
arya-sdk v4.4.14
Arya SDK
Installation Instructions
- Clone the repository
git clone https://github.com/Arya-Works/arya-sdk
cd arya-sdk
- Install dependencies
npm install
- Create a new .env file in source folder. (Alternatively copy the env file from arya-server)
AWS_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
- Create a new file workbench.ts in source folder.
touch src/workbench.ts
- Copy the following into workbench.ts
require('dotenv').config();
import { AryaSDK } from './index';
const aryaSdk = new AryaSDK()
await aryaSdk.init()
await aryaSdk.slackNotify("SDK is running")
- Run the workbench.ts file
npm run workbench
- Build the SDK and change the version in package.json
npm run build
Note: The config string is being pulled from AWS Parameter Store if you make any changes to the AryaSDKConfig
you need to update the parameter store with the new config string.
Log into the AWS console and navigate to the Parameter Store. Find the parameter with the name ARYA_SDK_CONFIG
and update the value with the new config string. Make sure the JSON string is valid.