Skip to content

Quick start instructions

alexanderbeletsky edited this page Feb 21, 2012 · 4 revisions

Software requirements: VS2010 SP1, ASP.NET MVC3

Installing from sources

Just clone application from github

git clone git@github.com:alexanderbeletsky/candidate.git

Open Candidate.sln in Visual Studio and build. Run all tests from Candidate.Tests and Candidate.Intergration.Tests projects. All tests have to pass. Please follow https://github.com/alexanderbeletsky/candidate/wiki/How-to-build instructions.

Installing from built version

Go to Downloads (https://github.com/alexanderbeletsky/candidate/downloads) section an get the latest .zip file with built application. Unpack it to any folder and setup IIS application.

Setup virtual folder for application

Right-click on Candiate.Web, go to Properties -> Web. Check 'Use Local IIS server' on Servers tab. Project URL should be something like, http://localhost/candidate. Press the 'Create Virtual Folder' afterwards.

Configuring the application

Since Candidate requires low level actions, as file creations and process execution it won't run under ApplicationPoolIntentity. So, it requires Administrative rights + git setup. It is recomended to create separate Application Pool and use you own app Identity.

Create new Application Pool

Open up IIS manager, go to Application Pools, right click and say 'Add Application pool'. Give it any name (e.g. Candidate), set .NET framework version to 4.0 and Managed Pipeline option to 'Integrated'. Click OK.

Change Process Identity

Right click on newly created application pool and go to 'Advanced Settings'. In Process Model tab, Indentity use custom account (just pick up your own account).

Run application

Now, application is available on http://localhost/candidate. Fire up browser and go there.

First login

Just use 'admin' and 'admin' as login and password.

Setting up web site

Setting up web site requires create new site and set all configuration as Github, Solution, IIS and Post step. Click on 'Add site' button and give it some name (e.g. testapp).

Configuration

After site has been added, click on 'Configure' button. You will see a different sections of configuration. Use such input for config.

Github

Solution

  • Solution name: KyivBeerNCode.sln
  • Web project: KyivBeerNCode.Web

IIS

  • Site name: testapp
  • Port: 8080

After it is done, go back to Dashboard.

Deployment

Just click on 'Deploy' button and deployment process should start. It might take up to 5 minutes, depending on your internet connection (initian repo clone could be quite long).

If everthing is fine, you will see success message.

Just go to 'http://localhost:8080' and see Kyiv Beer && Code site deployed on your machine.