This document describes the necessary steps to setup a bpmn-js
development environment.
On Linux, OS X or Windows? git, NodeJS and npm ready? Check out the setup script section below.
Make sure you have git, NodeJS and npm installed before you continue.
The following projects from the bpmn-io project on GitHub
and clone them into a common directory via
git clone git@github.com:bpmn-io/bpmn-js.git
git clone git@github.com:bpmn-io/diagram-js.git
git clone git@github.com:bpmn-io/bpmn-moddle.git
Link dependent projects between each other to pick up changes immediately.
.
├─bpmn-js
│ └─node_modules
│ ├─diagram-js <link>
│ └─bpmn-moddle <link>
├─diagram-js
├─bpmn-moddle
Use npm-link or ln -s <target> <link>
.
Use mklink /d <link> <target>
(docs).
Execute npm install
on each of the projects to grab their dependencies.
Execute npm run all
on each project. Things should be fine.
The whole setup can be automated through setup scripts for Linux/OS X and Windows.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。