Difference between revisions of "Content:CS Dept Site Setup"

From Earlham CS Department
Jump to navigation Jump to search
Line 2: Line 2:
  
 
=== Staging ===
 
=== Staging ===
The staging server can be accessed at staging.cs.earlham.edu.  This contains a copy of everything on the website and everything that's currently being worked on.  We'll use this as a place to make changes before we commit them to going live. '''Note:''' This is the only place that you should make changes to the pages!!
+
The staging server can be accessed at staging.cs.earlham.edu.  This contains a copy of everything on the website and everything that's currently being worked on.  We'll use this as a place to make changes before we commit them to going live.
 +
'''Note:''' This is the only place that you should make changes to the website!!
 +
 
 +
The files for the staging site are located on quark at <code>/clients/www/staging/html</code> and <code>/clients/www/staging/cgi-bin</code>.
  
 
=== Live ===
 
=== Live ===
 +
After we've reviewed changes to a page or to a project, we can copy them over to the live website by using rsync.  This can be either just files or entire directories.  Immediately after, commit the changes to the CVS tree by running
 +
 +
:<code>cvs commit</code>
 +
 +
from inside the <code>html</code> directory.
  
 +
The files for the live website are located on quark at <code>/clients/www/html</code> and <code>/clients/www/html/cgi-bin/.
  
== Using CVS ==
+
=== Cruft ===
''Note:'' When running any CVS commands, you'll need to specify <code>-d /clients/users/cvs</code> to specify which cvsroot you're talking about. 
 
  
Otherwise you can also put a line in your .bashrc file like this: <code>export CVSROOT='/clients/users/cvs'</code> if you're only going to use the one that contains the content.
+
There's a lot of currently unused stuff in <code>/clients/www</code> and also in the <code>html</code> directory.  Some of this is currently part of CVS.  Eventually we should move over to SVN and only put in there stuff that's actually used.
  
 
* [[Content CVS Directories]] - a breakdown of the directories and what's in them
 
* [[Content CVS Directories]] - a breakdown of the directories and what's in them

Revision as of 13:20, 21 January 2009

Both versions of the department's website run off Quark.

Staging

The staging server can be accessed at staging.cs.earlham.edu. This contains a copy of everything on the website and everything that's currently being worked on. We'll use this as a place to make changes before we commit them to going live. Note: This is the only place that you should make changes to the website!!

The files for the staging site are located on quark at /clients/www/staging/html and /clients/www/staging/cgi-bin.

Live

After we've reviewed changes to a page or to a project, we can copy them over to the live website by using rsync. This can be either just files or entire directories. Immediately after, commit the changes to the CVS tree by running

cvs commit

from inside the html directory.

The files for the live website are located on quark at /clients/www/html and /clients/www/html/cgi-bin/.

Cruft

There's a lot of currently unused stuff in /clients/www and also in the html directory. Some of this is currently part of CVS. Eventually we should move over to SVN and only put in there stuff that's actually used.