python-zulip-api/zulip_botserver
derAnfaenger 2736223073 bots: Make StateHandler store state on Zulip server.
This makes the StateHandler functional. To reduce the
number of server roundtrips when fetching/updating the
state, the entire state is fetched ocne at bot
initialization and cached. All changes are stored in the
cache and only saved externally after handle_message()
has been executed.

Fixes #141.
2017-11-18 08:58:47 -08:00
..
tests bots: Make StateHandler store state on Zulip server. 2017-11-18 08:58:47 -08:00
zulip_botserver zulip_botserver: Raise exception on wrong flaskbotrc file. 2017-11-10 18:36:20 -08:00
README.md flask_server: Move the server to its own package. 2017-07-18 01:31:54 -02:30
setup.py mypy: zulip_botserver: Fix errors in setup.py. 2017-10-27 00:56:16 -04:00
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.