This guide will help you configure your computer for developing Weavver using Visual Studio. Visual Studio is a development environment for the .NET framework. If you run into any issues please submit feedback so we can update the page and provide better instructions to future users.
Pre-requisites for your development machine:
1. Windows XP Pro, Windows Vista, or Windows 7
2.
TortoiseSVN
3. Visual Studio 2008 Professional
4. Turn off UAC on your computer. You can leave it on but it causes many problems and work-arounds are not documented here.
Note: IIS is not available in all Home versions of Windows XP, Vista , or 7 (x32 & x64).
Note 2: We do not support the Express versions of Visual Studio (which are free) but you could give them a try if you don't have Visual Studio Professional.
Get a copy of the repository
We use Subversion (SVN) to collaborate and build the Weavver source code together. TortoiseSVN is a GUI for the protocol. The following instructions will guide you through using TortoiseSVN to get a copy of our source repository.
1. Create the following folders: "C:\Weavver" and "C:\Weavver\Main"
2. Right click on the Main folder and select SVN Checkout.
3. A small window will appear, first time users will need to enter the URL of the repository which is "https://svn.weavver.com/main", without the quotes
4. Enter the correct username and password and click OK
5. Tortoise will then begin to download the repository
6. You now have a local copy of the Weavver code repository on your computer.
Installing IIS
Internet Information Services is the engine used to render and serve Weavver ASP.NET pages to your web browser.
Windows XP Professional Instructions:
1. Click on start then on the Control Panel
2. In the Control Panel click on Add/Remove Programs
3. Select Add/Remove Windows Components
4. Select IIS and click next
5. Proceed through the installation
Windows Vista and Windows 7 Professional and Higher Instructions:
1. Click on Start then go to the Control Panel.
2. In the Control Panel select. Get Programs under Programs.
3. In the get program window select Turn Features On and Off in the left window pane.
4. A Windows features window will appear, expand the Internet Information Service Features and select the following:
IIS Metabase and IIS 6 Configuration Compatibility, IIS Management Console, ASP.net,.NET
Extensibility, ISAPI Extensions, ISAPI Filters, Default Document, Directory Browsing,
HTTP errors, Static Content, HTTP Logging, Request Monitor, Static Content Compression,
Request Filtering, URL Authorization, Authentication.
Configure IIS
IIS is used to serve the ASP.NET webpages to your browser.
1. For windows Vista and 7 Click start and in the search programs field type in, IIS Manager and press ENTER. If you are Windows XP user click on start, click on run and type "IIS.msc" into the field.
2. On the left side there should be a console tree with the server name that you are using. Double click on it to expand the tree.
3. Look for the Sites folder, right click on it, and choose Add website.
4. A Window should pop up. Enter Weavver as the site name. The Host Name should be www.weavver.local. The path should be "C:\Weavver\Main\Servers\web\c\Inetpub\www" without the quotes.
5. For IIS6, Right click Web Sites, click properties, click Home Directory, click Configuration.
6. For IIS6, Click Insert to add a Wildcard application map.
7. For IIS6, Enter C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll and uncheck "Verify that file exists".
Configure DNS
The DNS name of www.weavver.local is used to navigate to your local version of Weavver from the web browsers on your computer.
1. Open the file %systemroot%\system32\driver\etc\hosts in Notepad (you may have to open Notepad as an Administrator in order to save changes)
2. Add "127.0.0.1 www.weavver.local weavver.local" without the quotes to the end of the file.
3. Save
Test it: You can try to ping www.weavver.local to see if the hard coded DNS setting took. You should receive an IP address of 127.0.0.1.
Note: Some antivirus software may alert you when you make this change. You can safely ignore this message.