main
continuous-integration/drone/push Build is passing
dots-bot-api
dots-bot-api is the application that will help to manage logic as the bot backend.
It uses Dots Platform Clients API.
Setup
- clone this repository.
- copy
.env.exampleand save as.env. -
change update the information about the database and the dots api
.env:postgresis same name of the service indocker-compose.yaml. Example:DB_CONNECTION=pgsql DB_HOST=postgres DB_PORT=5432 DB_DATABASE=your_database DB_USERNAME=another_user DB_PASSWORD=secure_password DOTS_BASE_URL=https://dotsdomain.test DOTS_API_TOKEN=your_api_token DOTS_API_ACCOUNT_TOKEN=your_api_account_token DOTS_API_AUTH_TOKEN=your_api_auth_token - if you change the database information in
.env, then it must be changed indots-bot-api/docker/postgres/.env. - run
sudo docker-compose up -din the project folder. - run
sudo docker psto see thatdots-bot-api-nginxbind your host's port with 80. - Now you can setup dots-matrix-bot.
Author
Kostiantyn Klochko (c) 2023
License
Under the GNU Affero General Public License v3.0 or later.
Languages
PHP
99.5%
JavaScript
0.2%
Blade
0.1%
Dockerfile
0.1%