Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For example, you might do this:

Code Block
$ cd /mydata

Use svn to get a copy of the repo:

Code Block
$ svn co https://svn.transvar.org/repos/genomes/trunk/pub/quickload

If you already have a copy, just update using svn up.

Code Block
$ svn up

This will update everything in the current working directory and all the directories beneath it.

Questions about using subversion? See: Version Control with Subversion.

Configure your Apache web server to server the IGB QuickLoad data directories via http

You'll need this to test that the new genome directory looks OK when visited in a Web browser. How you do this will depend on your computer. The following instructions explain how to do this on a Mac.

  • Use locate to find your local copy of httpd.conf, the Apache configuration file. Probably it's located at /private/etc/apache2/httpd.conf, depending on your system.
  • Open a terminal window and change into the same directory as the configuration file.
  • Make a backup copy of the file:
Code Block

cp httpd.conf httpd.conf.bak
  • Use sudo to open the file in a text editor like pico or emacs:
Code Block

sudo pico httpd.conf
  • Find the place in the file that says DocumentRoot. Comment the current DocumentRoot and substitute the full path to your checked-out copy of the QuickLoad repository:
Code Block

#DocumentRoot "/Library/WebServer/Documents" 
DocumentRoot "/Users/username/quickload"

and

Code Block

#<Directory "/Library/WebServer/Documents"> 
<Directory "/Users/username/quickload">

where quickload is your copy of the checked-out repo.

  • Restart Apache. To restart Apache on a Mac, open Apple > System Preferences ... > Sharing and select *Web Sharing." If it is already selected, that means Apache is already running. Unselect it to stop Apache and then select it again to restart Apache.
  • Open a Web browser and enter url http://localhostImage Added
  • You should see

    Check out or update a copy of IGB QuickLoad source code (src) directory.

As before, open a terminal and change into the directory where you want your checked-out copy of the genomes src code to reside. A good place for checked-out code is a directory named src in your home directory.

...