1.1.44 • Published 6 months ago

aana-cli v1.1.44

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

AA/NA Command Line Interface

Installation

AA/NA CLI requires environment configuration for proper use.

The env variables used are in JSON format and can be messy to add to an OS. Therefore, I'm using dotenv-json-complex which reads values from a .env.json file and dynamically adds them to the process's runtime environment.

Create an AANA_HOME env variable that points to a secure location in the users home folder

export AANA_HOME="$HOME/.aana"

Create the file .env.json in the AANA_HOME folder

touch $AANA_HOME/.env.json

Set permissions on the .env.json file to keep it secure

chmod 640 .env.json

Edit .env.json and add the appropriate JSON configuration.

Initialize Firebase

firebase init

Install MongoDb https://www.mongodb.com/try/download/community