From: James C. <ca...@gm...> - 2010-03-02 09:11:17
|
On 1 March 2010 20:36, Brenton Graveley <brg...@gm...> wrote: > Hi Mitch, > > I have a question about how you recommend installing browsers for multiple organisms on a single server? I am currently doing this by installing JBrowse in separate folders on the server, but this seems inefficient since I have multiple copies of the source code that each browser is using. What is the best way of doing this? Have two index.htmls, in the browser construction point to different locations for dataRoot but one location for browserRoot: eg: var b = new Browser({ containerID: "GenomeBrowser", refSeqs: refSeqs, trackData: trackInfo, defaultTracks: "DNA,gene,mRNA,noncodingRNA", location: queryParams.loc, tracks: queryParams.tracks, bookmark: bookmarkCallback, browserRoot: CODE_PATH, dataRoot: DATA_PATH }); James |