This page should be enough to get you started. If you run into trouble, please join the mailing list and ask us about it.
From CPAN:
Get JBrowse from GitHub (click on the "download" button)
Then unzip/untar JBrowse in a directory that's served by apache (e.g., /var/www/html/)
Tell JBrowse about your reference sequences with bin/prepare-refseqs.pl
(it's convenient to run the JBrowse scripts from within the JBrowse root directory)
$ bin/prepare-refseqs.pl --fasta docs/tutorial/data_files/volvox.fa
There are two options for telling JBrowse about your feature data: if you have a genomic annotation database such as chado, Bio::DB::SeqFeature::Store, or Bio::DB::GFF, then you can use JBrowse's biodb-to-json.pl. On the other hand, if you mainly deal with flat files like GFF or BED, it may be more convenient to use JBrowse's flatfile-to-json.pl.
You use bin/biodb-to-json.pl with a configuration file (documented here).
$ bin/biodb-to-json.pl --conf docs/tutorial/conf_files/volvox.json
bin/flatfile-to-json.pl doesn't use a configuration file; instead, per-track settings are given as command-line arguments. Run bin/flatfile-to-json.pl without any arguments to see a description of the available settings. Most of them correspond to track settings in the config file, so see the track settings section in the config file documentation for more details.
To enable users to search using feature names or IDs, you have to do two things:
$ bin/generate-names.pl -v
You need to run bin/generate-names.pl again every time you add new features to JBrowse.
visit the main page to view the results.
If you want to browse quantitative ("wiggle") tracks in JBrowse, you need to do a bit more work.
Prerequisites:
Compile the wiggle-processing program by running make in the JBrowse root directory
$ make g++ -O3 -lpng -o bin/wig2png src/wig2png.cc $
You need libpng and a C++ compiler; you can get these from MacPorts or Fink.
Once you have those installed, you need to compile the JBrowse wiggle-processing program. JBrowse includes a makefile to do this, but you may need to add the paths for libpng and png.h to your compiler's library and include paths. For example, if libpng is in /opt/local, you can run make like this:
$ make GCC_LIB_ARGS=-L/opt/local/lib GCC_INC_ARGS=-I/opt/local/include
libpng might be somewhere other than /opt/local, like /usr/X11R6 for example. To find where libpng is, try locate libpng
Once wig2png is compiled, you run it via a wrapper script:
$ bin/wig-to-json.pl --wig docs/tutorial/data_files/volvox_microarray.wig