-
Notifications
You must be signed in to change notification settings - Fork 4
Running
If you've read the README, you'll know that the bots are essentially Python scripts at its core, so you would run it as you would run a normal script on your system, for e.g. from the goodbot
directory:
$ python3 bots/goodbot.py
Similarly, ircbot.py
for ircbot
, and so on. Due to their very nature, they are all blocking scripts (except parsebot
which is intended to run as a scheduled script aka cronjob).
The web app requires usual Flask setup like:
$ export FLASK_APP=app.py
$ flask run
* Running on http://127.0.0.1:5000/
The Windows alternative would be set FLASK_APP=app.py
. Depending on how your system is set up, it might just refuse to run unless you do python3 -m flask run
.
Detailed instructions are available in Flask docs.
Copyright (C) 2020 QEDK Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
- Home
- Building dependencies
- goodbot
- ircbot
- parsebot
- Web app
- Running
- Toolforge
- Style guidelines
- GNU Free Documentation License