This is a Bot Conversation analytics!
- General info
- Setup for first time run
- Database and Databse-schema
- Configuration of postgress-database url
- Application Run
- Test Run
This will help us to get complete analysis of bot conversation
-
sudo apt install libnss3-tools -y
-
sudo apt install linuxbrew-wrapper
-
brew install mkcert
-
PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
-
mkdir certs
- (i. If 'certs' directory already exists delete and make the dir again.)
- (ii. Put the certficates in the 'certs' dir.)
-
mkcert -install
-
mkcert -cert-file certs/local-cert.pem -key-file certs/local-key.pem "docker.localhost" "*.docker.localhost" "domain.local" "*.domain.local"
- DB_DATABASE=
- DB_HOST=
- DB_USERNAME=<user_name>
- DB_PASSWORD=
- DB_PORT=
- ORIGIN_URL="https://chomsky.ameyo.net:9005"
docker network create proxy
docker-compose up --build
https://chomsky.ameyo.net:9005/api/v1/home?botid=<bot_id of your bot>
- Edit test_varfile for required configuration for testing.
- All the api can be tested in one go, or please comment or uncomment according to the need of testing.
docker-compose -f docker-compose-test.yml up --build