Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A front-controller style MVC framework for .NET
Pull request Compare This branch is 1848 commits behind DarthFubuMVC:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Controls
Core
External
buildsupport @ 538a031
docs
fubuTemplates
lib
packaging/nuget
src
.bottle-alias
.gitignore
.gitmodules
.mailmap
InstallGems.bat
InstallGems.sh
StoryTellerDebug.cs
Storyteller.xml
VERSION.txt
bottles.cmd
changelog.txt
deploy-test-app.bat
license.txt
rakefile.rb
readme.markdown
ripple.cmd
ripple.config
runst.bat

readme.markdown

Why does git status show that all of my files are modified?

FubuMVC is built by Windows users, so all of the text files have CRLF line endings. These line endings are stored as-is in git (which means we all have autocrlf turned off). If you have autocrlf enabled, when you retrieve files from git, it will modify all of your files. Your best bet is to turn off autocrlf, and re-create your clone of FubuMVC.

  1. Delete your local clone of the FubuMVC repository
  2. Type: git config --global core.autocrlf false
  3. Type: git config --system core.autocrlf false
  4. Clone the FubuMVC repository again

More information about working with git and FubuMVC

Where is CommonAssemblyInfo.cs?

CommonAssemblyInfo.cs is generated by the build. The build script requires Ruby with rake installed.

  1. Run InstallGems.bat to get the ruby dependencies (only needs to be run once per computer)
  2. open a command prompt to the root folder and type rake to execute rakefile.rb

If you do not have ruby:

  1. You need to manually create a src\CommonAssemblyInfo.cs file

    • type: echo // > src\CommonAssemblyInfo.cs
  2. open src\FubuMVC.sln with Visual Studio and Build the solution

Setting up Sphinx

Sphinx is a Python tool we use to create the FubuMVC documentation. It requires Python to be installed

  1. Install Python from python.org (Preferrably 2.7)
  2. Add the Python /Scripts directory to the PATH (i.e. c:\Python27\Scripts)
  3. On 32 Bit Windows simply run easy_install -U Sphinx
  4. On 64 Bit Windows, follow these instructions to get easy_install installed, then run easy_install -U Sphinx
  5. Then test that sphinx_build is available, and you're done.

Building the Documentation

  1. Run rake docs:html
  2. Open index.html from docs/build/
Something went wrong with that request. Please try again.