bpmn-js/docs/project/setup.sh

43 lines
561 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
echo setup bpmn-moddle
cd $base/bpmn-moddle
npm install
npm run build
echo setup bpmn-js
cd $base/bpmn-js
npm install
npm link ../diagram-js
npm link ../bpmn-moddle
cd $base
echo all done.