Install a New Instance of N2 Dinamico MVC

Install using NuGet (recommended)

These instructions assume you are using Visual Studio 2013 and ASP.NET MVC 4. Click the screenshots to enlarge them.

  1. Create a new Web Application project. 



     
     
  2. Once the project is created, go to Manage NuGet packages...
     

  3. Install the following packages: 
    1. Dinamico Templates for N2 CMS
    2. N2CMS Management (Standard) or N2CMS Management (ZIP Deployment)




  4. Open web.config and configure the database connection string
    1. If you are using a database, ensure that the correct libraries are referenced.  
    2. If you are using the XML (Flat file) strategy for storing your content, ensure that you have set flavour="Xml" in the <database> element.



  5. Run the project (Shift+F5 by default). The N2 installation wizard loads. Set the admin password and load the sample content if you wish. Then navigate to the administration area to continue building your site in the N2 Admin UI. 

 

Install from Git

If you want to have the absolute latest build of N2, you can install N2 MVC from the Git repository.