Taiga contrib slack
The Taiga plugin for slack integration.
Installation
Production env
Taiga Back
In your Taiga back python virtualenv install the pip package taiga-contrib-slack
with:
pip install taiga-contrib-slack
Modify in taiga-back
your settings/local.py
and include the line:
INSTALLED_APPS += ["taiga_contrib_slack"]
Then run the migrations to generate the new need table:
python manage.py migrate taiga_contrib_slack
Taiga Front
Download in your dist/plugins/
directory of Taiga front the taiga-contrib-slack
compiled code (you need subversion in your system):
cd dist/
mkdir -p plugins
cd plugins
svn export "https://github.com/taigaio/taiga-contrib-slack/tags/$(pip show taiga-contrib-slack | awk '/^Version: /{print $2}')/front/dist" "slack"
Include in your dist/conf.json
in the contribPlugins
list the value "/plugins/slack/slack.json"
:
...
"contribPlugins": [
(...)
"/plugins/slack/slack.json"
]
...
Dev env
Taiga Back
Clone the repo and
cd taiga-contrib-slack/back
workon taiga
pip install -e .
Modify in taiga-back
your settings/local.py
and include the line:
INSTALLED_APPS += ["taiga_contrib_slack"]
Then run the migrations to generate the new need table:
python manage.py migrate taiga_contrib_slack
Taiga Front
After clone the repo link dist
in taiga-front
plugins directory:
cd taiga-front/dist
mkdir -p plugins
cd plugins
ln -s ../../../taiga-Contrib-slack/front/dist slack
Include in your dist/conf.json
in the contribPlugins
list the value "/plugins/slack/slack.json"
:
...
"contribPlugins": [
(...)
"/plugins/slack/slack.json"
]
...
In the plugin source dir taiga-contrib-slack/front
run
npm install
and use:
gulp
to regenerate the source and watch for changes.gulp build
to only regenerate the source.
How to use
Follow the instructions on our support page Taiga.io Support > Contrib Plugins > Slack integration