mostr-zulip-bot/zulip_bots/zulip_bots
Steve Howell 0fd093a698 bots: Allow users to supply ZULIP_API_KEY, etc.
This will make it easier to run standalone
bots in containers like Heroku that prefer
env-var-style configuration.

For now this is undocumented, but we should
update the server docs once a few folks have
tried it out.

(The history behind requiring the config file
is that I wanted to keep things simple and
be strongly opinionated about how you run
bots, so that the docs didn't overwhelm folks,
but this use case has come up more frequently.)
2018-12-09 11:16:30 -08:00
..
bots bots: Raise KeyError inside storage.get(). 2018-12-09 11:16:30 -08:00
bots_unmaintained bots: Refactor Youtube bot. 2017-12-09 03:56:33 -08:00
tests bots: Allow users to supply ZULIP_API_KEY, etc. 2018-12-09 11:16:30 -08:00
.gitignore bots: Move all bots and the bots API to separate package. 2017-07-18 02:20:27 -02:30
__init__.py bots: Move all bots and the bots API to separate package. 2017-07-18 02:20:27 -02:30
custom_exceptions.py bots: Add magic method validate_config(). 2018-02-13 11:02:17 -08:00
finder.py zulip-run-bot: Add the ability to run a bot by the module name. 2018-07-01 08:08:02 -04:00
game_handler.py game_handler: Support single player games and enforce 'rules' command. 2018-03-25 12:53:15 -04:00
lib.py bots: Allow users to supply ZULIP_API_KEY, etc. 2018-12-09 11:16:30 -08:00
provision.py zulip_bots/provision: Use subprocess and stop being --quiet. 2018-06-06 16:36:21 -02:30
request_test_lib.py request_test_lib: Add mocking PUT requests. 2018-07-01 07:54:28 -04:00
run.py bots: Allow users to supply ZULIP_API_KEY, etc. 2018-12-09 11:16:30 -08:00
simple_lib.py bots: Add bot for uploading files to Zulip server. 2018-07-01 07:57:45 -04:00
terminal.py bots: Extract path resolution logic into a function. 2018-06-22 07:59:56 -04:00
test_file_utils.py zulip_bots: Use utf-8 when reading fixtures. 2017-12-14 05:56:55 -05:00
test_lib.py bots: Add bot for uploading files to Zulip server. 2018-07-01 07:57:45 -04:00