Introduction
There are two ways to compile FubuMVC and the samples: 1.) Automated command-line build and 2.) Visual Studio 2008 solution build.
The recommend way to get started is to use the automated command-line build as it does both a compile and runs the unit tests.
Getting FubuMVC
FubuMVC is based on Google Code which uses the Subversion source control system. If you don't already have it installed, install the Tortoise SVN client. Create a folder somewhere on your local drive and r-click on it and click "SVN Checkout". Check out the Fubu trunk URL which is (http://fubumvc.googlecode.com/svn/trunk/).
Compiling FubuMVC using Visual Studio
If you have Visual Studio 2008 Standard (C#) SP1 or better/later, after having retrieved FubuMVC's source from the trunk, you can navigate to the "src" folder and double-click on the "FubuMVC.sln" file. From there you can compile the solution (CTRL+SHIFT+B).
Compiling FubuMVC using Rake [command-line build]
-
Install Ruby [first time only]
FubuMVC uses an automated build process based on the "Rake" framework. Rake is a Ruby-based framework and requires Ruby to be installed on your computer. For Windows users, we recommend using the Ruby 1.8.6 one-click installer for Windows which can be found at the following link: http://www.ruby-lang.org/en/downloads [Direct Download Link md5:00540689d1039964bc8d844b2b0c7db6] .
Once installed, ensure that "ruby" is in your system PATH environment variable (open a new cmd.exe session and type ruby -help).
-
Update GEMS [first time only]
CD to the FubuMVC trunk folder you created in the "Get the Source" step above. (i.e. cd /d c:\development\fubumvc). Then execute the InstallGems.bat file to update your Ruby installation with the latest Rake scripts.
-
Execute Rake [every time]
From the FubuMVC trunk folder, execute the "rake" command. It should then compile and run all the unit and integration tests for both FubuMVC and all the samples. If there are any errors, please report them to the FubuMVC mailing list.
Comments (0)
You don't have permission to comment on this page.