A full demonstration of a JBConnect installable hook.
Demo JBConnect Hook requires redis as a pre-requisite, which is only used by the queue framework (kue). JBConnect depends on SailsJS.
Install redis and sails
yum install redis
redis-server
npm install -g sails@1.0.2
Install the JBConnect and JBrowse. jb_setup.js ensures the sample data is loaded.
# install jbconnect
git clone http://github.com/gmod/jbconnect
cd jbconnect
npm install
# install demo-jbconnect-hook
npm install gmod/demo-jbconnect-hook
# install jbrowse & setup jbrowse demo
npm install @gmod/jbrowse@1.15.1
patch node_modules/@gmod/jbrowse/setup.sh fix_jbrowse_setup.patch
./utils/jb_setup.js
The patch operation is needed to make JBrowse 1.15.1 setup.sh run properly. If JBrowse is installed in another location, the patch should be run before setup.sh.
Launch the server.
sails lift
From a web browser, access the application (default login: juser/password).
http://localhost:1337/jbrowse