Revision history [back]
I created this plugin for self hosted instances, using Slack Webhooks: https://github.com/jonmbake/askbot-slack. It works by using Django's Signals on the Post model and calling the web hook on create. It is really easy to setup and configure:
pip install askbot_slack
- Add 'askbot_slack.SlackMiddleware' to MIDDLEWARE_CLASSES of Askbot's
settings.py
- Add the
askbot_slack_config.py
file to the class path with the following properties and your Slack config values:
config = {
"SLACK_POST_USERNAME": '',
"SLACK_POST_CHANNEL": '',
"SLACK_WEBHOOK_URL": ''
}
It would work with hosted instances; you just need the maintainer to set it up.
I created this plugin for self hosted instances, using Slack Webhooks: https://github.com/jonmbake/askbot-slack. It works by using Django's Signals on the Post model and calling the web hook on create. It is really easy to setup and configure:
pip install askbot_slack
- Add 'askbot_slack.SlackMiddleware' to MIDDLEWARE_CLASSES of Askbot's
settings.py
- Add the
following config file to the class path withaskbot_slack_config.py
the following properties andyour Slack configvalues:
config = {
"SLACK_POST_USERNAME": '',
"SLACK_POST_CHANNEL": '',
"SLACK_WEBHOOK_URL": ''
}
}
It would work with hosted instances; you just need the maintainer to set it up.