Developing in Sitecore 7.5 — Setup and Installation

In this post I’m going to attempt to outline how to setup Sitecore 7.5 for use in your development environment. I would like to make it clear this is a practical example, but may not follow best practices or Sitecore’s point of view. Also, things may be brief, but this is a development environment after all, so we don’t need to worry too much about optimizations and splitting up server roles.

To preface the directions, Sitecore 7.5 was released this month and can be found on the Sitecore Developer Network. It comes with some new features, but the significant change is the overhaul to the analytics and the introduction of MongoDB. For more information on the changes, please see the Sitecore 7.5 Release Notes.

Prerequisites:

  • .NET Framework v4.5
    Any version of 4.5.x should work since there’s backwards compatibility. I happen to have 4.5.1 installed currently).
  • MongoDB (at the time of this post, the latest version is 2.6)
    Because this is a developer machine, we can use the free version.
  • Sitecore v7.5 Installer
    I tend to use the executable, but you could use SIM if you’re so inclined.

We start of by installing MongoDB which enables us to record the new analytics information for 7.5. I tend to go the path of least resistance, so the x64 msi was perfect. A few clicks (and some next buttons) and I have MongoDB installed.

The Sitecore installation is next. I find simpler is better for development, so I use the executable and follow all the default installation steps. Shown below, I’ve done a complete install which sets up my IIS website and AppPool for me. You’ll also notice, for simplicity’s sake, I’ve named my instance “sitecore75”.

10-31-2014 2-13-55 PM

10-31-2014 2-14-05 PM

10-31-2014 2-14-12 PM

10-31-2014 2-14-19 PM

10-31-2014 2-14-28 PM

10-31-2014 2-14-59 PM

10-31-2014 2-15-27 PM

10-31-2014 2-15-46 PM

10-31-2014 2-16-03 PM

10-31-2014 2-16-11 PM

On completion, it’s nice to confirm our installation works by checking off “Launch Sitecore”.

10-31-2014 2-17-17 PM

Assuming all went well, You’ll see the wonderful “Welcome to Sitecore” page we all know (and love).

10-31-2014 2-18-25 PM

We still need MongoDB for this instance, so I’ve written a little batch file that gets me going as painlessly as possible. Also, because I bounce between Sitecore instances (and this is only a development environment), I’ve chosen to run MongoDB through a console shell instead of installing at as a service. This is completely up to you on how you want to do it, I just find it easy to run a batch file on-demand rather than a service running all the time.

So, to keep things simple, here is the batch file I use:

Installation is matter of changing the SitecoreInstance setting within the file and saving it off to my instance’s folder to keep things organized (in my case it’s \inetpub\wwwroot\Sitecore75). This also sets up my MongoDB within the \Databases\MongoDB directory, so removing the instance later on is simple and self-contained.

And that’s about it; You should now have a working installation of Sitecore 7.5 running MongoDB locally which can be your open canvas for future websites!

Series Posts

  1. Developing in Sitecore 7.5 — Setup and Installation
  2. Developing in Sitecore 7.5 — Solution Setup
  3. Developing in Sitecore 7.5 — Adding Sitecore Rocks

Flattr this!

Brad Christie

Software programmer from New Hampshire who enjoys the challenge and fulfillment of accomplishing any size task with ingenuity and persistence. I currently work at Sitecore as a Solutions Architect and an MVC evangelist.