Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

kaleidos-ventures/taiga-contrib-letschat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Taiga Contrib Let's Chat

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

Installation

Production env

Taiga Back

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

Taiga Front

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"
    ]
...

Dev env

Taiga Back

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

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-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.