1 Star 0 Fork 0

kingzuos / bpmn-js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
SETUP.md 1.93 KB
一键复制 编辑 原始数据 按行查看 历史
Nico Rehwaldt 提交于 2017-10-04 09:27 . docs(SETUP): remove grunt

Project Setup

This document describes the necessary steps to setup a bpmn-js development environment.

TLDR;

On Linux, OS X or Windows? git, NodeJS and npm ready? Check out the setup script section below.

Manual Steps

Make sure you have git, NodeJS and npm installed before you continue.

Get Project + Dependencies

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 Projects

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

On OS X, Linux

Use npm-link or ln -s <target> <link>.

On Windows

Use mklink /d <link> <target> (docs).

Install Dependencies

Execute npm install on each of the projects to grab their dependencies.

Verify Things are O.K.

Execute npm run all on each project. Things should be fine.

Setup via Script

The whole setup can be automated through setup scripts for Linux/OS X and Windows.

JavaScript
1
https://gitee.com/kingzuos/bpmn-js.git
git@gitee.com:kingzuos/bpmn-js.git
kingzuos
bpmn-js
bpmn-js
master

搜索帮助