Taiga plugin for Let's Chat (https://sdelements.github.io/lets-chat/) integration.
NOTE: Let's Chat team is working to add markdown support, please use this branch for testing: https://github.com/sdelements/lets-chat/tree/try-md
In your Taiga back python virtualenv install the pip package taiga-contrib-letschat
with:
pip install taiga-contrib-letschat
Modify in taiga-back
your settings/local.py
and include the line:
INSTALLED_APPS += ["taiga_contrib_letschat"]
Then run the migrations to generate the new need table:
python manage.py migrate taiga_contrib_letschat
Download in your dist/plugins/
directory of Taiga front the taiga-contrib-letschat
compiled code (you need subversion in your system):
cd dist/
mkdir -p plugins
cd plugins
svn export "https://github.com/taigaio/taiga-contrib-letschat/tags/$(pip show taiga-contrib-letschat | awk '/^Version: /{print $2}')/front/dist" "letschat"
Include in your 'dist/conf.json' in the 'contribPlugins' list the value "/plugins/letschat/letschat.json"
:
...
"contribPlugins": [
(...)
"/plugins/letschat/letschat.json"
]
...
Clone the repo and
cd taiga-contrib-letschat/back
workon taiga
pip install -e .
Modify in taiga-back
your settings/local.py
and include the line:
INSTALLED_APPS += ["taiga_contrib_letschat"]
Then run the migrations to generate the new need table:
python manage.py migrate taiga_contrib_letschat
After clone the repo link dist
in taiga-front
plugins directory:
cd taiga-front/dist
mkdir -p plugins
cd plugins
ln -s ../../../taiga-contrib-letschat/dist letschat
Include in your 'dist/conf.json' in the 'contribPlugins' list the value "/plugins/letschat/letschat.json"
:
...
"contribPlugins": [
(...)
"/plugins/letschat/letschat.json"
]
...
In the plugin source dir taiga-contrib-letschat/front
run
npm install
and use:
gulp
to regenerate the source and watch for changes.gulp build
to only regenerate the source.