|Willipedia is now back online as of 5/5/2019|
|It has been several years since Willipedia closed. Please help get it updated!|
|Go to the Willipedia 2.0 Project to learn more.|
Updated for petunia as devel server...
[[Category:How-To]] [[Category:Computers]] [[Category:WSO]]
[http://wso.williams.edu WSO's web site] is a work in progress. If you're impatient about the new facebook, or you know web design or Ruby, or if you just want to see how it's done, you're welcome to check out a copy of the code and go to work. This page will tell you how to get started.
==SSH to WSO==
Once you've logged in with SSH, you're ready to check out your very own copy of the WSO code. In your home directory, or wherever you'd like to keep your copy of the WSO site, run the following command to use Subversion to check out the code. (Don't forget the dot at the end!) This will spew a whole log of output onto your screen, listing all the files it's checking out. You can replace "wso-devel" with whatever name you want for your local copy of the code.
co file:/// var/svn/ wso wso-devel
Now change directory into the code directory:
If you see something like the following, then you're in business.
=> Booting WEBrick
... => Rails application started on http://0.0.0.0: 3001 => Ctrl-C to shutdown server ; call with --help for options [2006-11-29 21: 15:31] INFO WEBrick 1. 3. 1 [2006-11-29 21:15:31] INFO ruby 1. 8. 5 ( 2006-08-25) [powerpc-darwin8. 8.0 ] [2006- 11-29 21:15:32] INFO WEBrick::HTTPServer#start: pid=9210 port=3001
Before breaking out the champagne, we need to check to see that the server actually works. Unfortunately, you can't just pop open a web browser and surf to your new site. WSO's servers are behind a firewall. The firewall only allows connections on certain ports. Yours is not one of them.
Of course, if it doesn't work, please describe your problem on [[Talk:
How to hack on the WSO site]].
Now, you can change a file in wso-devel, and the change will show up on your development server at this address the next time you reload the page in your browser. Sweet.
Nice work getting this far. So now you actually want to ''do'' something with the code. For now, come to a WSO meeting Thursdays at 10:30pm in the vicinity of TCL 217a, or email firstname.lastname@example.org with questions/interest.
Currently, our big project is the new facebook.
It's a good idea to run an update every so often so that your local working copy picks up changes that other people have made. Change directory into your wso-devel directory and run
Email root at wso if you'd like to change the WSO site, add a new service, or fix a bug. If you get the go-ahead, you're in good shape, so go to work. Once you think your change is ready for the world, you'll need to get permission to
commit changes to our code repository, where it will be tested and deployed. Email root at wso about that. They'll take care of you . == To Do == * Pictures are broken on the front page...