Anonymous

Changes

WSO web development

3 bytes added, 00:26, May 18, 2019
no edit summary
{{outdated}}
[[Category:How-To]] [[Category:Computers]] [[Category:WSO]]
[http://wso.williams.edu WSO's web site] is a work in progress. You can always see "the next step" at http://wso.williams.edu:3000, where the latest "stable" (stable being a relative term) version of the next update to the site lives. 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.
Open up a Terminal on your own machine, and type
ssh -N -p 22 -f -2 -L 3000/127.0.0.1ursula/your_port username@wso.williams.edu
EXCEPT instead of your_port, put the port number that you wrote down, and instead of "username", type your WSO account name. Unfortunately, you'll have to run this command somewhat frequently, since SSH connections close when your computer reboots or goes to sleep (or WSO crashes, or whatever...). To make this a little less tedious, open the file called .bashrc in your home directory on your own machine and add this line:
alias wso3000='ssh -N -p 22 -f -2 -L 3000/127.0.0.1ursula/your_port username@wso.williams.edu'
Again, make the substitutions for your_port and username. Close the Terminal window and open a new one. Now, if you need to establish the connection, just type "wso3000" in a terminal window. You can pick a different alias, of course.
Source port: 3000
Destination port: (your special port)
Destination host: localhostursula
Continue to the Common Instructions.
 
== Option 2: Run on your own machine==