How to install EasyDoc plugin to review and test

Prerequisites

NodeJs 6.x or higher, recommended 7.x or 8.x link

Angular Cli link

Git

Step-by-step guide


  1. Clone project from bitbucket

    $ cd <Dir-Projects>
    $ git clone git@bitbucket.org:colosa/easydoc.git


  2. In your ProcessMaker directory, create a symbolic link to EasyDoc Project

    $ cd <Dir-Instances>
    $ cd processmaker/workflow/engine/plugins/
    $ ln -s EasyDoc <Dir-Projects>/EasyDoc/3.x/EasyDoc
    $ ln -s EasyDoc.php <Dir-Projects>/EasyDoc/3.x/EasyDoc.php
  3. Go to EasyDoc directory and install dependencies

    $ cd <Dir-Projects>/EasyDoc
    $ npm install
  4. Build plugin and publish

    $ ng build
    $ gulp

Test issue by issue

For example to test a ticket ED-72


  1. Go to EasyDoc directory and following the next steps

    $ cd <Dir-Projects>/EasyDoc
    $ git fetch --all
    $ git checkout ED-72
    $ ng build
    $ gulp
  2. Important!!! In ProcessMaker administration section disable and enable EasyDoc plugin

  3. Important!!! Clean your browser cache