1 Setup via pip
Stefano Pigozzi edited this page 2022-06-22 04:43:34 +02:00
  1. Create and activate a new venv:

    $ python -m venv venv
    $ source venv/bin/activate
    
  2. Install the threadkiller package:

    $ pip install threadkiller
    
  3. View the variables to configure to run Threadkiller:

    $ python -m threadkiller.config
    
  4. Export the required variables:

    $ export TG_BOT_TOKEN="12345:ABCDEF"
    [...]
    
  5. Run the package as a module::

    $ python -m threadkiller