In order to require bionode-watermill to run a custom made pipeline, one should follow these simple steps:
- First, create a folder where you place your
pipeline.js
- Within this folder run
npm install bionode-watermill
. This will create a folder namednode_modules
, with all dependencies of bionode-watermill. - After, install any dependencies that are required by your
pipeline.js
. - Finally, you will be able to run your pipeline and do not forget to:
require('bionode-watermill')
Note: steps 2 and 3 can be replaced by using a package.json
inside your main
folder for the pipeline.js
. With this method you just do npm install
within the main folder, where the package.json
is located.