python-zulip-api/zulip_botserver
derAnfaenger fb2aff4611 zulip package: Add unittest
As the first unittest, this creates a test directory and
abnd adds it tho the excluded pip package files.

There are two `tests` directories now, one in zulip_botserver and one in
zulip. This confuses the unittest runner, leading to failed test imports.
Therefore, we need to tell the package importer that there are multiple
tests directories, all of which should be considered for a search.
2017-09-12 01:27:09 -07:00
..
tests zulip package: Add unittest 2017-09-12 01:27:09 -07:00
zulip_botserver api: Ensure automatic tilde expansion. 2017-08-29 14:20:48 -07:00
README.md flask_server: Move the server to its own package. 2017-07-18 01:31:54 -02:30
setup.py python-zulip-api: Upgrade versions (0.3.3 -> 0.3.4). 2017-09-11 21:09:28 -02:30
zulip-botserver-supervisord.conf zulip_botserver: Add skeleton config file for supervisord. 2017-08-29 09:53:34 -07:00

zulip-bot-server --config-file <path to flaskbotrc> --hostname <address> --port <port>

Example: zulip-bot-server --config-file ~/flaskbotrc

This program loads the bot configurations from the config file (flaskbotrc here) and loads the bot modules. It then starts the server and fetches the requests to the above loaded modules and returns the success/failure result.

Please make sure you have a current flaskbotrc file with the configurations of the required bots. Hostname and Port are optional arguments. Default hostname is 127.0.0.1 and default port is 5002.