#BrickPile is a lightweight CMS built on RavenDB and ASP.NET MVC 4.
- ASP.NET MVC 4
- 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 -Pre
And that's basically it. Of course you need an empty ASP.NET MVC 4 web application.
##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" />
</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.
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
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.