Bloggin in the UK RSS 2.0
 Wednesday, April 07, 2010
I am interested in the Microsoft MVC framework so with a view to understanding it properly I decided to pick an open source project that uses it to help me understand what a real implementation looks like. I heard Phil Haack talking on the Herding Code podcast about subtext and it sounded like it is using some interesting technologies, MVC, Lucene & URL routing^.

Installation on Windows 7 for Development

My Development Platform
- Windows 7 64bit
- Visual Studio 2008 Professional
- Sql Server 2008 (10.0.2531) - 64bit Enterprise
- SVN Revision Number: 4007

Here are the steps I had to complete to begin debugging subtext.
1) Check out the source code - follow this link: http://code.google.com/p/subtext/source/checkout
    or if you have an SVN command line client you can try the command below but it may become out of date.
    svn checkout https://subtext.googlecode.com/svn/trunk/ subtext-read-only
   
    TIP: When I attempted to checkout the code on my laptop with a 3g dongle I kept getting the error:
         svn: Server sent unexpected return value (400 Bad request) in response to OPTIONS request for 'http://subtext.googlecode.com/svn/trunk'
         Change the URL to HTTPS://... resolved the issue, I think the cause was a silent proxy.
2) Setting up the database.
    If you have Sql Server installed on your dev machine I think that the idea is that the database will install the first time you run the solution.
    On my machine I had to manually attach the database myself.
        - Open up Sql Server Management Studio and select 'Attach Database'.
        - Navigate to the sub folder <SVN Checkout Folder>\src\Subtext.Web\App_Data
        - If a Log file appears with a message not found delete it then hit ok.
        - Then I updated the connection string to "Data Source=LOCALHOST;Initial Catalog=Subtext2.5;Integrated Security=SSPI;", this can be found in the          Subtext.web web.config
       
3) At this point if all is well you should be able to run the soltion and get the "Installation Wizard" page:
    Step 2: Configure the Admin Account (I just followed the instructions and completed the form)
    Step 3: Create A Blog (I just clicked the button)
   


Some useful reading
http://code.google.com/p/subtext/wiki/DeveloperGuide - Some basic info on getting started with development
http://subtextproject.com/Features-and-Requirements.ashx - Details of features and resources.
svn checkout https://subtext.googlecode.com/svn/trunk/ subtext-read-only

Installation on specific Hosting Sites

softsyshosting

Go Daddy


Wednesday, April 07, 2010 7:20:15 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] -

Archive
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010
Charlie Barker
Sign In
Statistics
Total Posts: 172
This Year: 14
This Month: 1
This Week: 0
Comments: 77
Themes
Pick a theme:
All Content © 2010, Charlie Barker
DasBlog theme 'Business' created by Christoph De Baene (delarou)