Static Page Protocol: Difference between revisions

From Genecats
Jump to navigationJump to search
Line 2: Line 2:


== Files Destined for the Round Robin and Mirrors (Public Documents) ==
== Files Destined for the Round Robin and Mirrors (Public Documents) ==
*The made files are located in /usr/local/apache/htdocs (this is the path used in push requests)
*These files should only be edited in your checkout of the git kent source tree at $HOME/kent/src/hg/htdocs/
*These files should only be edited in your checkout of the git kent source tree at $HOME/kent/src/hg/htdocs/
*To view these files: http://hgwdev.cse.ucsc.edu/
*After a make, copies will be located in /usr/local/apache/htdocs/ (this is the path used in push requests)
*The progression of these files is:  hgwdev (http://hgwdev.cse.ucsc.edu/) --> hgwbeta (http://hgwbeta.cse.ucsc.edu/) --> RR (http://genome.ucsc.edu/)
*Make Procedure:
 
#'''Note:''' If your page is new and has a server side include (SSI) which looks something like this:
*Make Procedure
#:<tt><nowiki><!--#include virtual="../../inc/topbar.html"--></nowiki></tt>
'''Note:''' If your page is new and has a server side include (SSI) which looks something like this:
#:make sure the execute bit is turned on for the file which can be done by doing this:
 
#:<tt>chmod +x fileName</tt>
  <nowiki><!--#include virtual="../../inc/topbar.html"--></nowiki>  
#:This will need to be done before you do any makes or you will have to delete the rsync'd file, change the permissions, check them in, and redo the make.
 
#(optional) to view your changes on in your own sandbox, on hgwdev type: '''make''' from $HOME/kent/src/hg/htdocs/
make sure the execute bit is turned on for the file which can be done by doing this:
#To view your changes on http://hgwdev.cse.ucsc.edu/, on hgwdev type: '''make alpha''' from $HOME/kent/src/hg/htdocs/
 
  >chmod +x fileName
 
This will need to be done before you do any makes or you will have to delete the rsync'd file, change the permissions, check them in, and redo the make.
 
#To view your changes on http://hgwdev.cse.ucsc.edu/ type: make alpha from $HOME/kent/src/hg/htdocs/
#If your changes look good, check them in.
#If your changes look good, check them in.
#To see changes displayed on hgwbeta (http://hgwbeta.cse.ucsc.edu/), on hgwbeta type: make beta from $HOME/kent/src/hg/htdocs/
#To see changes on http://hgwbeta.cse.ucsc.edu/ (and to get them in the right place for a push request), on hgwbeta type: '''make beta''' from $HOME/kent/src/hg/htdocs/
#If your changes are ready to go to the RR, then ask the cluster admins for a push request using the made files located here: /usr/local/apache/htdocs
#If your changes are ready to go to the RR, then ask the cluster admins for a push of the file(s) in /usr/local/apache/htdocs/ from hgwbeta -> RR.


== Large Files either Destined for the Round Robin or are Linked on the Genome Wiki (These files were too large to be checked into the main htdocs repository) ==
== Large Files either Destined for the Round Robin or are Linked on the Genome Wiki (These files were too large to be checked into the main htdocs repository) ==

Revision as of 21:18, 14 September 2011


Files Destined for the Round Robin and Mirrors (Public Documents)

  • These files should only be edited in your checkout of the git kent source tree at $HOME/kent/src/hg/htdocs/
  • After a make, copies will be located in /usr/local/apache/htdocs/ (this is the path used in push requests)
  • Make Procedure:
  1. Note: If your page is new and has a server side include (SSI) which looks something like this:
    <!--#include virtual="../../inc/topbar.html"-->
    make sure the execute bit is turned on for the file which can be done by doing this:
    chmod +x fileName
    This will need to be done before you do any makes or you will have to delete the rsync'd file, change the permissions, check them in, and redo the make.
  2. (optional) to view your changes on in your own sandbox, on hgwdev type: make from $HOME/kent/src/hg/htdocs/
  3. To view your changes on http://hgwdev.cse.ucsc.edu/, on hgwdev type: make alpha from $HOME/kent/src/hg/htdocs/
  4. If your changes look good, check them in.
  5. To see changes on http://hgwbeta.cse.ucsc.edu/ (and to get them in the right place for a push request), on hgwbeta type: make beta from $HOME/kent/src/hg/htdocs/
  6. If your changes are ready to go to the RR, then ask the cluster admins for a push of the file(s) in /usr/local/apache/htdocs/ from hgwbeta -> RR.

Large Files either Destined for the Round Robin or are Linked on the Genome Wiki (These files were too large to be checked into the main htdocs repository)

  • The types of files that are located here help file examples, tutorial examples, or files that are linked to Genome Wiki.
  • The made files are located in /usr/local/apache/htdocs (this is the path used in push requests)
  • To edit these files, checkout the htdocsExtras repository in your home directory:
git clone yourlogin@hgwdev.cse.ucsc.edu:/data/git/htdocsExtras.git/ htdocsExtras
  • Make Procedure
  1. To view your changes on http://hgwdev.cse.ucsc.edu/ on hgwdev in your /cluster/home/$usr/htdocsExtras directory type: make alpha
  2. If your changes look good, check them in.
  3. To have your changes that you made on hgwdev displayed on hgwbeta (http://hgwbeta.cse.ucsc.edu/ in your /cluster/home/$usr/htdocsExtras directory type on hgwbeta type: make beta
  4. If your changes are ready to go to the RR, then ask the cluster admins for a push request.

Files Destined for hgdownload

  • These files are located in /usr/local/apache/htdocs-hgdownload (this is the path used in push requests)
  • To edit non-data files, checkout the hgdownload repository in your home directory:
git clone yourlogin@hgwdev.cse.ucsc.edu:/data/git/hgdownload.git/ hgdownload
  1. To view your changes on hgdownload-test (http://hgdownload-test.cse.ucsc.edu/) on hgwdev in /cluster/home/$usr/hgdownload type: make alpha
  2. If the changes look good, check them in.
  3. When ready to move to hgdownload, email the the cluster admins with a push request.

Files for Internal Use

  • These made files are located in genecats
  • To edit these files, checkout the repository in your home directory: git clone yourlogin@hgwdev.cse.ucsc.edu:/data/git/genecats.git/ genecats
  • To view these files: http://genecats.cse.ucsc.edu/$directory
  • Make Procedure
  1. To view your changes on http://genecats.cse.ucsc.edu/ in this directory /cluster/home/$user/genecats type: make install
  2. If your changes look good, check them in.