/espocrm-poc-entity-tree

# Proof of concept project - Create custom entity with tree structure like Document Folder

Primary LanguageJavaScript

Proof of concept project

  • Create custom entity with tree structure like Document Folder

Workflow

  1. create sub branch, finish the feature and create merge request
  2. Merge to dev branch, squash commit and delete sub branch after merging.
  3. The main branch is for release only.

Document for dev

  • write doc in folder document
  1. docker-compose up and check localhost:8080

Ref

  1. Structurizr help
  2. Structurizr lite
  3. Structurizr DSL
  4. Structurizr Cookbook
  5. https://viblo.asia/p/mo-hinh-hoa-kien-truc-phan-mem-voi-c4-vyDZO1vQ5wj
  6. https://appsindie.com/tao-tai-lieu-thiet-ke-hoan-chinh-voi-arc42/

Coding

  • write code in folder source-code
  1. first time
npm install
node build --all
  • Wait till the end, if it has error when run grunt command the get into the site folder and run manually.

  • For other errors, try updating node version and re-install node_modules npm install.

  • If the grunt command finish with an error said that the "chmod-folders" command fails, you can ignore it.

  1. While coding, run command to copy extension to demo site node build --copy

  2. Build extension: node build --extension