Skip to content

GrainGenes/demo-jbconnect-hook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-jbconnect-hook

A full demonstration of a JBConnect installable hook.

Pre-Install

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

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.

Run

Launch the server.

sails lift

From a web browser, access the application (default login: juser/password).

http://localhost:1337/jbrowse

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.0%
  • Shell 2.5%
  • CSS 0.5%