Skip to content

nessshon/mytonctrl_bot

 
 

Repository files navigation

mytonctrl_bot

Installation via Script

  1. Download and run the installation script:

    wget https://raw.githubusercontent.com/igroman787/mytonctrl_bot/master/install.sh
    chmod +x install.sh
    bash ./install.sh

    The script will create:

    • the project source directory: /usr/src/mytonctrl_bot;
    • the working directory: /var/mytonctrl_bot;
    • a systemd service named mytonctrl_bot.
  2. Navigate to the project source directory:

    cd /usr/src/mytonctrl_bot
  3. Configure the settings file:

    cp settings.json.example settings.json
    # edit settings.json
  4. Start the service:

    sudo systemctl start mytonctrl_bot

Installation via Docker

  1. Install Docker and Docker Compose.

  2. Clone the repository:

    git clone --recursive https://github.com/igroman787/mytonctrl_bot
    cd mytonctrl_bot
  3. Configure the settings file:

    cp settings.json.example settings.json
    # edit settings.json
  4. Start the container:

    docker compose up -d

    The ./data directory on the host is mounted as the application’s working directory inside the container at /usr/local/bin/mytonctrl_bot.

About

telegram bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 96.3%
  • Shell 3.0%
  • Dockerfile 0.7%