www.washington.edu: Publishing on the UW Web Site
The following provides information for Web developers at the University of Washington developing on the www.washington.edu server.
- On This Page
- Create and Publish Content on www.washington.edu
- The Development Environment
- Installing files from development (wwwudev) to production (www) or "Public" Directories
- Resources & Tools
www.washington.edu is the Web server used by many UW admnistrative units. It differs from other central UW servers in having development and production modes and a more secure, stable architecture. Content is "pushed" from the development environment into the production environment, providing a secure place to develop and review your content before it is available to the public.
The Web development environment on www.washington.edu consists of two areas - a development area and a production area. You will access your development area using the account you requested above, on bank.u.washington.edu or red.cac.washington.edu (if you work for UW Information Technology).
Create a File
Typically, all of the work you do is done in the development area, and you "install" or "push" your files from the development side to the production side.
- You will be assigned a development
directory under this hierarchy: /usr/local/wwwudev/world/
The directories are access restricted--only a limited set of users have permission to view the Web content produced in the development environment.
- Access this directory from your computer account on one of the computers with access to the server directories (bank.u.washington.edu, or for UW Information Technology, red.cac.washington.edu)
- Login to your account, and at the prompt, use the
unix command "cd" and the full path to your directory,
See "Resources and Tools" below for unix guides and information.
Write or put all of your html files in the development directory or subdirectories of that directory.
Only work in the development directory and use the wwwuinst installation tools to migrate files from development into production.
The wwwuinst tool automates the installation process by making an exact copy of the development files and directory structure in the production area.
After creating your Web content, you should view the files in the Web browser to check formatting, style, and overall appearance.
The files you create are visible on a Web browser with a development url and authentication under the url:http://wwwudev.cac.washington.edu/groupname For example, if you were assigned the directory /usr/local/wwwudev/world/admin/parking, your development url would be: http://wwwudev.cac.washington.edu/admin/parking/
- Files are edited on the development server wwwudev - you should not directly edit any files in the production directories (www).
- After editing, you install your files into production with the wwwuinst command outlined below.
- You must be on a list of allowed users to use wwwuinst commands. When your account is created, and you are given permission to "push", your account name will be added to this list. You will only be able to install the files in your own directories.
- For further information about account permissions, send mail to firstname.lastname@example.org
Installing your documents
The wwwuinst command copies your files from the development area (wwwudev) into the production area (www).
You must log on to red.cac.washington.edu or bank.u.washington.edu using a secure terminal to follow the commands below:
- Installing your documents overnight
- The simplest way to install your documents is to give the wwwuinst command followed by the location of your group's directory. A list of all files which are to be installed, updated, or removed will be displayed. The actual installation occurs during the night. Be sure to clean out your directory and remove unwanted files before you install.
- Installing your documents immediately (pushing)
- If you wish to force changes to appear immediately, use the -push option in the command. WARNING: If you have more than one person working on your documents, coordinate when pushes are done to avoid pushing unfinished documents into production. It is a good practice to designate one person as the "pusher."
wwwuinst -push directorylocation/groupname or
wwwuinst -push directorylocation/groupname/path/filename
wwwuinst -push world/recreation
wwwuinst -push world/recreation/index.html
- Showing what files will be installed
- You can use the -show option to see what files would be installed, without actually installing them.
wwwuinst -show directorylocation/groupname
wwwuinst -show world/recreation
- www.washington.edu Developer Information--A technical resource for beginning to advanced developers
- Email email@example.com for help with technical questions
Additional Unix Resources
- Working with Unix Directories
- Unix Commands
- Setting Unix Permissions for Web pages
- Using Pico
- VI Quick Reference