Umbraco CMS

From Logic Wiki
Jump to: navigation, search


Installation

Visual Studio 2012

Go to File > New Project and pick ASP.NET Web Application. Click OK and then choose one of the following:

  • ASP.NET Empty Web Application
  • ASP.NET Web Forms Application
  • ASP.NET MVC 3 Web Application (will be upgraded to an MVC 4 application)
  • ASP.NET MVC 4 Web Application

Visual Studio 2013

Go to File > New Project and pick an ASP.NET Web Application.

On the next step, select the Empty template. It's important to to pick empty as other templates include incompatible versions of MVC and Json.NET. (Don't enable any of the checkboxes to add folders or core references. Umbraco will add them for you).


After Creating the Project

in PM

Install-Package UmbracoCms

Note

For some inexplicable reason, the installation will fail if you answer "A" to the question:

File 'Web.config' already exists in project 'MySite'. 
Do you want to overwrite it? [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "N"):

So make sure to only answer "Y". (You may need to do this a few times).

Running the site

You can now run the site like you would normally in Visual Studio (using F5 or the Debug button).

Follow the installation wizard and after a few easy steps and choices you should get a message saying the installation was a success.

Post installation

One important recommendation is to always remove the install folder immediately after installing Umbraco and never to upload it to a live server.