Skip to content

idenra-google/chackabot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. At first, you need to create new bot in Telegram.
  2. Install python and venv
  3. Install poetry
  4. Install dependencies with poetry install

You're ready to run bot locally.

Local run

  1. Set up environment variable TELEGRAM_BOT_KEY. For example, export TELEGRAM_BOT_KEY=<your_token>
  2. Activate environment poetry shell
  3. Run bot python hackabot\telegram.py

Deployment

  1. If you have not access to some server, you may sign up to some one (for instance, Heroku).
  2. Connect to the server. You may use ssh to connect.
  3. Install Tmux sudo apt install tmux
  4. Attach to Tmux tmux attach || tmux new
  5. Clone your repository.
  6. Repeat local run steps.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages