Gbib development

From genomewiki
Revision as of 12:12, 10 April 2014 by Max (talk | contribs) (Created page with "== development on browserbox-dev with testing on browserbox-dev or the browserbox == This section is for developers. It's not relevant for QA. You can start and stop browserbox...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

development on browserbox-dev with testing on browserbox-dev or the browserbox

This section is for developers. It's not relevant for QA.

You can start and stop browserbox-dev with the aliases devStart and devStop. Browserbox-dev listens at 1236 for web requests and at 1237 for ssh.

All virtual machines live in qateam/VirtualBox VMs/. The central virtualbox xml config file where they are registered is ~/.config/VirtualBox/VirtualBox.xml

start browserbox-dev:

 devStart

connect + git pull + compile:

 ssh devbox
 compileCgis

You can now test the CGIs on port 1236 of hgwdev. You can also hack on the /home/browser/kent directory and e.g. run makes in there.

To do a more realistic test, the alpha binaries can also be put into the final browserbox.

To copy the alpha binaries into the browserbox: Copy them from devbox to alpha distribution rsync server directory (this command is defined in qateam's .bashrc) by running this command as qateam:

 boxUpdateAlpha

Now start the box and pull the alpha binaries from the rsync server:

 boxStart
 ssh box
 updateBrowser alpha

You can now use the alpha CGIs on port 1234 of hgwdev.

When you're done: stop the development box:

 devStop