Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
BrickPile is an open source content management system built on RavenDB and ASP.NET MVC 5.
JavaScript C# CSS HTML

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.nuget Removes old test runners
BrickPile.Core
BrickPile.Domain
BrickPile.Tests
BrickPile.UI
.gitattributes
.gitignore
BrickPile-Sample.nuspec Moved source code up two levels and removed unnecessary folders
BrickPile.Core.nuspec
BrickPile.UI.nuspec Merge remote-tracking branch 'origin/master' into vnext
BrickPile.sln
LICENSE.txt Added MIT-License
README.md
version.txt
web.config.transform

README.md

BrickPile is a lightweight CMS built on RavenDB and ASP.NET MVC 5. NuGet Version NuGet Downloads

Requirements

Brace yourself, BrickPile makes the following demands:

  • ASP.NET MVC 5 and Web Api
  • RavenDB

And that's about it. A slight bit of knowledge about ASP.NET MVC development is also required.

Installing

Getting Installed

Installing BrickPile is simply the act of writing a single PowerShell command inside the package manager console.

PM> Install-Package BrickPile

And that's basically it. Of course you need an empty ASP.NET MVC 5 web application with Web Api.

Configuration

As default BrickPile will run RavenDB in embedded mode and store the documents in ~\App_Data\Raven. This can easily be configured to use an other location or RavenDB server. The following example shows how to use RavenDB server.

<connectionStrings>
    <add name="RavenDB" connectionString="Url = http://localhost:8080;Database=brickpile" />
</connectionStrings>

Note: To run BrickPile with RavenDB server you need to download it and execute [RavenDBdir]\Server\Raven.Server.exe. For more configuration options see RavenDB documentation.

Assets configuration

In order to use Assets you have to change two things. In Global.asax, add: HostingEnvironment.RegisterVirtualPathProvider(new NativeVirtualPathProvider());

And then make sure that your web.config has the correct PhysicalPath and that the directory exist:

<appSettings>
    <add key="PhysicalPath" value="C:\temp\static\" />
</appSettings>

Note: The PhysicalPath can also be relative to the site root like this ~/App_Data/Static

Setup

When the configuration is done just hit F5 inside Visual Studio, this will hopefully bring up the setup screen. Fill the form with the correct information and hit "Let's do this" and your done.

Something went wrong with that request. Please try again.