Telegram bot store
Telegram bot of the online store. It is not some kind of innovation, etc. There are bugs in the work, you need to configure it completely from scratch for you and the product. And so it starts and works
Installation
VPS server requirements: php 7.2, MySQL, Apache2.
The presence of an ssl certificate for the domain (https).
Unpack it at the root.
Create a database.
Configure db.php and /telegram/db.php
Specify 777 write permissions for directories:
/upload/
/upload/delivery
CRON:
FOR SSH:
*/1 * * * * curl -s https://inbrain.online/task_run.php?action=delivery
*/1 * * * * curl -s https://inbrain.online/task_run.php?action=check_wallets
*/1 * * * * curl -s https://inbrain.online/check_reserve.php
COMMANDS FOR CRON:
curl -s https://domain.ru/task_run.php?action=delivery
curl -s https://domain.ru/task_run.php?action=check_wallets
curl -s https://inbrain.online/check_reserve.php
Authorization:
https://domain.ru/login.php
admin:z6GZ1Jbq66