Online store telegram bot script

45$
Add to cart

Telegram bot online store. Is not some kind of innovation, etc. There are bugs in the work, you need to configure completely from scratch for you and the product. And so it starts and works, who needs to figure it out.

Installation

VPS server requirement: php7.2, MySql, Apache2.
The presence of an ssl certificate for the domain (https).

  1. Unpack at the root.
  2. Create db.
  3. Configure db.php and /telegram/db.php
  4. Specify write permissions 777 for directories:
    /upload/
    /upload/delivery
  5. 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

Subscribe
Notify of
0 comments
Inline Feedbacks
View all comments