blob: 2aa9c55fdba9674a7b8001c0cb3cafb73951ce4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# bpmn-js Modeler Example
This example uses [bpmn-js](https://github.com/bpmn-io/bpmn-js) to implement a modeler for BPMN 2.0 process diagrams. It serves as the basis of the bpmn-js demo application available at [demo.bpmn.io](http://demo.bpmn.io).
## About
This example is a node-style web application that builds a user interface around the bpmn-js BPMN 2.0 modeler.
![demo application screenshot](https://raw.githubusercontent.com/bpmn-io/bpmn-js-examples/master/modeler/docs/screenshot.png "Screenshot of the example application")
## Building
You need a [NodeJS](http://nodejs.org) development stack with [npm](https://npmjs.org) and [grunt](http://gruntjs.com) installed to build the project.
To install all project dependencies execute
```
npm install
```
Build the application (including [bpmn-js](https://github.com/bpmn-io/bpmn-js)) using [browserify](http://browserify.org) via
```
grunt
```
You may also spawn a development setup by executing
```
grunt auto-build
```
Both tasks generate the distribution ready client-side modeler application into the `dist` folder.
Serve the application locally or via a web server (nginx, apache, embedded).
|