Merge pull request #103 from meyerdan/patch-1

fix(docs/setup-script): add direct editing repository
This commit is contained in:
Jörg 2014-08-01 13:31:17 +02:00
commit 5af6c36f38
1 changed files with 12 additions and 1 deletions

View File

@ -76,11 +76,14 @@ Execute `grunt` on any of the projects. Things should be nice.
The whole setup can be automated through the following script.
```bash
#!/bin/bash
base=`pwd`
echo cloning repositories
git clone git@github.com:bpmn-io/diagram-js.git > /dev/null
git clone git@github.com:bpmn-io/diagram-js-direct-editing.git > /dev/null
git clone git@github.com:bpmn-io/moddle.git > /dev/null
git clone git@github.com:bpmn-io/moddle-xml.git > /dev/null
git clone git@github.com:bpmn-io/bpmn-js.git > /dev/null
@ -116,6 +119,13 @@ ln -s $base/moddle node_modules/moddle
ln -s $base/moddle-xml node_modules/moddle-xml
npm install > /dev/null
echo setup diagram-js-direct-editing
cd $base/diagram-js-direct-editing
mkdir node_modules
ln -s $base/diagram-js node_modules/diagram-js
npm install > /dev/null
echo setup bpmn-js
cd $base/bpmn-js
@ -123,7 +133,8 @@ mkdir node_modules
ln -s $base/moddle node_modules/moddle
ln -s $base/bpmn-moddle node_modules/bpmn-moddle
ln -s $base/diagram-js node_modules/diagram-js
ln -s $base/diagram-js-direct-editing node_modules/diagram-js-direct-editing
npm install > /dev/null
echo all done.
```
```