Hexagon

Running Umbraco on Azure with Content Delivery Network, Continuous Integration and Localisation


So that’s a mouthful. You won’t find anything here that isn’t on other blogs, I have just collected it all together a written it out in nice easy steps so next time I need to do it I can just follow this myself.

The end result will be an empty Umbraco installation running on Azure, linked up to VSTS for source control and continuous integration and Visual Studio for development.

We will also setup Azure CDN to speed thing up and Vorto to allow localisation of text on the site.

As this is a long set of steps I have split it across several posts

Advertisements

Running Umbraco on Azure – Part 1


For the other posts in the series go to Part 0

Setup Visual Studio and VSTS

Go to VisualStudio.com and sign in to your VSTS account and create a new project

createproject

Wait for it to be created

CloneScreen

Clone it in Visual Studio

vsempty

create empty asp.net web application with unit tests

new

Open Nuget Package Manager

nuget

Install these packages

  • UmbracoCms
    • this is the main Umbraco package
  • Our.Umbraco.Vorto
    • this adds multi-language support
  • Our.Umbraco.NestedContent
    • this allows content to reference other content (it makes sense when you use it)
  • uSync.ContentEdition
    • this allows you to sync content back to Visual Studio for including in source control and importantly the other way

Create Database

Open SQL Server Object Explorer (ctrl+\, ctrl+s)

vs-sql.PNG

Expand the LocalDb node

Right click on ‘Databases’

Select ‘Add New Database’

vs-sql2

Give it a name – umbraco-cms for example

Click ok

Initialising the site

Build and Run the solution (F5)

ubracoinstall.PNG

Complete this and click Customize

ubracoinstall2

Select ‘Microsoft SQL Server’

umbracodb.PNG

Enter server name – e.g. (localdb)\MSSQLLocalDB
Enter database name – e.g. umbraco-cms
Tick use integrated security

Click Continue

ubracoinstall3.PNG

Continue again

ubracoinstall4.PNG

Click ‘No thanks’

ubracoinstallwait.PNGWait a while

ubracoinstall6.PNG

Close or follow the tour, your choice.

Close the site and stop debugging

Follow the steps fromĀ Jeremy Pyne to enable Strongly Typed Models

In solution Explorer turn on ‘Show all Files’ and include these folders in the solution (if they are not already)

  • App_Browsers
  • App_data\Packages\installed\
  • Umbraco
  • Umbraco_client
  • uSync
  • Views\MacroPartials

Check everything in to VSTS

Check out Part 2 for setting up Azure