UNPKG

745 BMarkdownView Raw
1# CLI and Text-based interface for ADA
2
3
4## Install via npm
5``` bash
6$ npm install -g ada-cli
7$ ada
8```
9
10## Install via git for developing
11
12``` bash
13$ git clone git@github.com:medx-net/ada-cli.git && cd ada-cli/
14$ npm install
15$ npm start
16```
17
18The cli will check if a `.adarc` is present in the homedir, if it's not found, it checks for a `config.json` in the root folder.
19If both files don't exist it will ask for your credentials and automatically create the `.adarc` configuration file.
20
21## Use as Textbot
22
23To run ADA as SMS bot, add the following to the enviroment section of your `config.json`:
24``` json
25"twilio": {
26 "accountSid": "",
27 "authToken": "",
28 "from": "+49XXXXXXX"
29},
30"server": {
31 "port": 6000
32},
33```
34![Ada SMS bot](./sms.png)