Mercurial > hg > beaglert
view resources/osc/node_modules/osc-min/lib/install.md @ 377:a430a16d2c02 prerelease
Updated scripts so that the Bela folder on the bbb is ~/Bela. Note: BeagleRT_startup.sh is still the same (because the reference to it needs to be changed in /etc/init.d/ ....
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sat, 11 Jun 2016 01:54:43 +0100 |
parents | fb9c28a4676b |
children |
line wrap: on
line source
~installation~ The easiest way to get osc-min is through [NPM](http://npmjs.org). After install npm, you can install osc-min in the current directory with ``` npm install osc-min ``` If you'd rather get osc-min through github (for example, if you're forking it), you still need npm to install dependencies, which you can do with ``` npm install --dev ``` Once you've got all the dependencies you should be able to run the unit tests with ``` npm test npm run-script coverage ``` ### For the browser If you want to use this library in a browser, you can build a browserified file (`build/osc-min.js`) with ``` npm install --dev npm run-script browserify ```