Difference between revisions of "Content:CS Dept Site Setup"
Line 14: | Line 14: | ||
from inside the <code>html</code> directory. | 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/. | + | The files for the live website are located on quark at <code>/clients/www/html</code> and <code>/clients/www/html/cgi-bin/</code>. |
=== Cruft === | === Cruft === | ||
Line 21: | Line 21: | ||
* [[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 | ||
+ | |||
+ | === Accessing Quark from Home === | ||
+ | ==== Shell Access ==== | ||
+ | You can get remote access to a command line on quark remotely using SSH. If you're running Mac OS X or Linux, you already have a built-in shell that you can use. For Windows, you'll need to download Putty: | ||
+ | |||
+ | http://www.putty.org/ | ||
+ | |||
+ | You don't need to install it: it's entirely a self-contained .exe file. | ||
+ | |||
+ | ==== Transferring Files ==== | ||
+ | You can transfer files back and forth from Quark using SCP (a file transfer protocol that runs over SSH). Download WinSCP: | ||
+ | |||
+ | http://winscp.net/eng/download.php |
Revision as of 13:30, 21 January 2009
Both versions of the department's website run off Quark.
Contents
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.
- Content CVS Directories - a breakdown of the directories and what's in them
Accessing Quark from Home
Shell Access
You can get remote access to a command line on quark remotely using SSH. If you're running Mac OS X or Linux, you already have a built-in shell that you can use. For Windows, you'll need to download Putty:
You don't need to install it: it's entirely a self-contained .exe file.
Transferring Files
You can transfer files back and forth from Quark using SCP (a file transfer protocol that runs over SSH). Download WinSCP: