Installation InstructionsThe VWF source can be downloaded from github for both Windows and Linux. Windows InstallationInstall Cygwin Download and run setup.exe from Cygwin. Accept the default settings, except for:
Select a download site from the list. Choose one that seems close and reliable. At Select Packages, click the View button once to choose the Full view, which is a straight list and is easier to navigate than the default nested category view. Select the following packages for installation. Use the search box or scroll down the list to find each one. Click once on Skip in the New column to mark it for installation.
Click through to Finish to close Cygwin setup. Save setup.exe for later since you may need it to add or update packages. Option 1: Automatic Windows Installation 1.1 Shell Command Please make sure your HTTP_PROXY and HTTPS_PROXY environment variable are set in cygwin. Please make sure your git http proxy are also set (ie. git config –global http.proxy http://yourproxy.com) Perform the following shell command at a user shell prompt within Cygwin:
Option 2: Manual Windows Installation 2.1 Install RubyGems Cygwin’s ruby installs without the library manager, so we have to install it from source: http://rubygems.org/pages/download Open a new Cygwin terminal session. Unpack into a directory and cd there Install with command: ruby setup.rb 2.2 Extract VWF from ZIP File Download the latest baseline from our downloads page and extract to C:\Users\YOU\pathto\VirtualWorldFramework. 2.3 Install the Gems Use the previous Cygwin terminal window or launch a new one and cd to your VWF development directory:
The easiest way is to type c-d-space as above, drag a VWF directory icon from Windows Explorer, drop it onto the Cygwin terminal, then hit return. Then enter these commands:
Ignore the warning about sudo not found for bundle install. If you get linker relocation errors, you probably need to tell Cygwin to rebaseall. See Cygwin rebaseall for details. The required rebase and dash packages should already be installed. 2.4 Launch the Server Enter the following command:
2.5 Connect The server runs on port 3000 in development mode by default. Use Google Chrome to connect to http://localhost:3000/duck and http://localhost:3000/plane. View the excellent duck and the fascinating plane. Other applications may be available at other paths. Linux Installations1. Ubuntu/Debian Automatic Installation Perform the following shell command at a user shell prompt:
2. Red Hat Enterprise Linux Automatic Installation Perform the following shell command at a user shell prompt:
3. Manual Installation on Linux 3.1 RubyGems Ensure RubyGems is installed (for Debian/Ubuntu).
Now try # ruby –version and you should get the 1.9.# baseline for ruby reported back. Or (for Red Hat/Fedora)
Or (for OSX with Homebrew)
3.2 Extract VWF from TAR File Download the contents of the GitHub Master VWF Baseline to your local directory:
3.3 Install the Gems Launch a terminal window and cd to your VWF development directory:
Then enter these commands:
On Debian-based systems, RubyGems is not automatically added to the path. Find the following lines in bash:
And update them to:
Now you can install the RubyGems to the system (as root):
3.4 Build the Server
3.5 Launch the Server
3.6 Connect The server runs on port 3000 in development mode by default. Use Google Chrome to connect to http://localhost:3000/duck and http://localhost:3000/plane. |