bpmn-js/docs/project/setup.sh

44 lines
567 B
Bash

#!/bin/bash
###
# Setup script to be executed in a bpmn.io project root (some empty folder chosen by YOU)
###
base=`pwd`
echo cloning repositories
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
echo done.
echo setup diagram-js
cd $base/diagram-js
npm install
npm link
echo setup bpmn-moddle
cd $base/bpmn-moddle
npm install
npm link
echo setup bpmn-js
cd $base/bpmn-js
npm install
npm link diagram-js
npm link bpmn-moddle
npm link
cd $base
echo all done.