Quick start instructions
Software requirements: VS2010 SP1, ASP.NET MVC3
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.
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.
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.
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.
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.
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).
Now, application is available on http://localhost/candidate
. Fire up browser and go there.
Just use 'admin' and 'admin' as login and password.
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).
After site has been added, click on 'Configure' button. You will see a different sections of configuration. Use such input for config.
- Repository URL: https://github.com/alexanderbeletsky/beerncode
- Branch: master
- Solution name: KyivBeerNCode.sln
- Web project: KyivBeerNCode.Web
- Site name: testapp
- Port: 8080
After it is done, go back to Dashboard.
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.