Skip to content
/ boka Public

Chatbot to help identify and communicate landslides risk areas.

Notifications You must be signed in to change notification settings

romavini/boka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

🌉 Build, 🔎 Observe, 📚 Know, 🚩 Alert!

Chatbot to help identify and communicate risk areas.

BOKA was created to intermediate the

alt text

Dashboard

  • Interactive maps to communit

alt text

  • Community support

alt text

API

Call Functions 📞

$ python apiservice/api.py arg1 arg2

Where:

  • arg1 is 0 to insert CEP or 1 to insert long;lat;
  • arg2 is the information;
  • arg3 (optional) is an filename to response JSON.

A response JSON file will be created in the api/apiservice/response/ folder.

Run 🏁

  1. Clone the repository, running the following command in your chosen folder
$ git clone git@github.com:romavini/boka.git
$ cd boka
  1. (Optional) Create a virtual environment
$ virtualenv venv
$ venv\Scripts\activate.bat
  1. Create a .env in the root folder with the following information:
TOMTOM_API_KEY =  # Get your key here: https://developer.tomtom.com/how-to-get-tomtom-api-key
  1. Install project dependencies
$ pip install -r requirements.txt
  1. Run the application.
$ python apiservce/main.py