Git instaweb using mongoose and msysGit
Monday, 12 October 2009 by alexandrulRequirements
- Git up and running (1.6.5.3 or 1.6.4.4)
- mongoose, current version is mongoose-2.8.exe
- CGI.pm, current version is CGI.pm-3.48.tar.gz
- perllib
Mongoose setup
Rename mongoose-2.8.exe to mongoose4instagit.exe and place it in any folder at your choice, in my case: k:\dev\tools\mongoose\mongoose4instagit.exe
Gitweb setup
In a msysGit shell run the following commands to build gitweb.cgi in case it’s not already present (like after running make clean in /git folder):
cd /git make gitweb/gitweb.cgi
Next, extract CGI.pm archive content, and copy the content of the lib subfolder to /lib/perl5/site_perl, keeping the folder structure:
[Read More…]
Git on Windows with msysGit
Sunday, 20 September 2009 by alexandrulThe article is based on Install MSysGit wiki page from the msysGit website, and you could also read Updating MSysGit.
For best results use one of the following Git versions:
- Git 1.6.5.3 - recommended
- Git 1.6.4.4
Requirements
- Git source code, current version is git-1.6.5.3.tar.gz
- msysGit full install, current version is msysGit-fullinstall-1.6.4-preview20090729.exe
Setting up Git
First unpack msysGit installer to your desired location (7-Zip works just fine). In my case, the location is K:\dev\tools\msysGit. Also, this folder is the root folder inside the msysGit shell, and would be the reference for the rest of the tutorial.
In the K:\dev\tools\msysGit\git folder you will find the Git source code provided with the installer. Delete all the files and folders inside it, and then unpack in the same folder the source code of your desired git version.
Final step would be running K:\dev\tools\msysGit\msys.bat, which will compile and install git, and leave you to a shell prompt.
Git 1.6.4.2 on Windows with msysGit
Sunday, 30 August 2009 by alexandrulUpdated: Git 1.6.5.2
Git resources
Friday, 28 August 2009 by alexandrulWhy Git
- Git vs. Mercurial: Please Relax new
- Introduction to Distributed Source Control new
- Aspects and benefits of distributed version control systems (DVCS) new
Source code / binaries / GUI
Setting up Git server
- Git Server: Gitosis and Cygwin on Windows
- Hosting Git repositories, The Easy (and Secure) Way
- Installing Git on a server (Ubuntu or Debian)
- Remote Git Repos on Ubuntu: The Right Way
- From subversion to git (part3 - gitosis)
- Deploying a Git Repository Server in Ubuntu
- Adding a New Repository to Git/Gitosis
- Scripts for gitosis
- Installing a git server using gitosis
- Install (Set Up) Git and Gitosis on Ubuntu
- Gitosis - Git repository
- Setting up a new remote git repository
- 8 ways to share your git repository
- How to use HTTP Basic Authentication with git new
- Setting up a Msysgit Server with copSSH on Windows new
- Making git work properly from cygwin new
- Setting up a Git server with Windows Server 2008 new
- Setting up Gitosis with Windows Server 2008 new
- On git, gitosis, and python issues on Windows Vista new
Build virtual machine configuration files to use with VMware Player
Thursday, 27 August 2009 by alexandrulVMware Player 3.0 can create new virtual machines, but older versions are only running existing virtual machines.
Tutorials
- VMWare Player Image Creation
- Using VMware Player to Create Images for New Virtual Machines
- How to use VMware Player to create your own images
- How-to: VMware player modification new
On-line generators
Updated templates for xUnit.net in ASP.NET MVC RTM
Sunday, 3 May 2009 by alexandrulEnvironment:
- Visual Studio 2008 Pro
- xUnit.net v1.5 (build 1.5.0.1479)
xUnit.net has very few tests by default, so I have adapted the standard Visual Studio tests generated for ASP.NET MVC web applications. This resulted in two files: AccountControllerTests.cs and HomeControllerTests.cs (the last one is similar with HomeControllerFacts.cs)
The xUnit.net template for ASP.NET MVC unit testing can be found on the following location:
%VS2008%\Common7\IDE\ProjectTemplates\CSharp\Test\XunitMvcTestProjectTemplate.cs.zip
After unpacking the content of the template to a temp folder, we must place the new files in the Controllers folder, and update the content of MvcTemplate.csproj and MyTemplate.vstemplate:
[Read More…]
Setup xUnit.net for unit testing in ASP.NET MVC RTM
by alexandrulEnvironment:
- Visual Studio 2008 Pro
- xUnit.net v1.5 (build 1.5.0.1479)
If you are using a zip file downloaded from the Source Code section of their site, extract it on a temp folder and move the binaries from the Samples\xunit folder to your destination of choice. If you are using the zipped binaries from their downloads page, simply extract them to your desired location.
The next step is running xunit.installer.exe and enabling support for ASP.NET MVC. The result should look like this:

If the installer throws an exception like this one:

then you should create manually the folder specified in the error message (usually the Test folders).
[Read More…]