Skip to content

nwendel/brickpile

 
 

Repository files navigation

#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.

About

BrickPile is an open source content management system built on RavenDB and ASP.NET MVC 5.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published