2014-08-19 14:32:04 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2014-08-26 09:25:31 +00:00
|
|
|
###
|
|
|
|
# Setup script to be executed in a bpmn.io project root (some empty folder chosen by YOU)
|
|
|
|
###
|
|
|
|
|
2014-08-19 14:32:04 +00:00
|
|
|
base=`pwd`
|
|
|
|
|
|
|
|
echo cloning repositories
|
|
|
|
|
2014-08-26 09:26:55 +00:00
|
|
|
git clone git@github.com:bpmn-io/diagram-js.git
|
|
|
|
git clone git@github.com:bpmn-io/bpmn-js.git
|
|
|
|
git clone git@github.com:bpmn-io/bpmn-moddle.git
|
2014-08-19 14:32:04 +00:00
|
|
|
|
|
|
|
echo done.
|
|
|
|
|
2014-08-26 09:25:31 +00:00
|
|
|
|
2014-08-19 14:32:04 +00:00
|
|
|
echo setup diagram-js
|
|
|
|
|
|
|
|
cd $base/diagram-js
|
2014-08-25 15:11:43 +00:00
|
|
|
npm install
|
2014-08-19 14:32:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
echo setup bpmn-moddle
|
|
|
|
|
|
|
|
cd $base/bpmn-moddle
|
2014-08-25 15:11:43 +00:00
|
|
|
npm install
|
2014-08-19 18:46:28 +00:00
|
|
|
|
2014-08-19 14:32:04 +00:00
|
|
|
|
|
|
|
echo setup bpmn-js
|
|
|
|
|
|
|
|
cd $base/bpmn-js
|
2014-08-25 15:11:43 +00:00
|
|
|
npm install
|
2016-09-01 08:17:50 +00:00
|
|
|
npm link ../diagram-js
|
|
|
|
npm link ../bpmn-moddle
|
2014-08-19 14:32:04 +00:00
|
|
|
|
2014-08-25 15:11:43 +00:00
|
|
|
|
|
|
|
cd $base
|
|
|
|
|
2014-08-19 14:32:04 +00:00
|
|
|
echo all done.
|