Private source control with TortoiseGit and Dropbox

One of the most important parts of a software development project is how source control is used. This is how you manage the actual resources of the implementation of your project. There are several options and I will describe how I setup a private source control repository using TortoiseGit and Dropbox.

There are free options to host your repositories online but they are usually also asking you to open it to the public. Great for open source projects but not if you just want to hack away on your own project.

I have come to use a solution where I create a bare bone Git repository in my Dropbox folder. Then I clone this to a working folder and use it as my home folder for development. I use the features of TortoiseGit to commit and sync any changes.

This way I can simply share a repository between my desktop and laptop by using Dropbox to sync on both and then clone the bare bone Git repository to a working folder on each computer.

This solution gives me all of the benefits of Git source control and I keep the repository on several locations as it is copied to both my computers and the Dropbox cloud storage. This fulfills the basic requirement for any professional software development setup.

Setting up the content manager server…NOT!

Time to get back to installing Tridion in my virtual machine. This is to be able to learn more and to do some testing and development locally.

I setup the webserver and application server roles, with the required features as in the installation manual.

After having followed the installation manual it seem the only missing components are java, I decided to try to use the latest, 32 bit version, of java. Java 7u9.

First time running the installer, all default settings and complete installation. Though I opted to install into C:Tridion instead of in program files folder. It turns out I am missing a few prerequisites. Since I prefer to control the installation as much as possible I will go ahead and install them manually.

I did not manage to get them all installed and detected by the installer and went ahead anyway and hoping the installer would sort it out.

After having filled in all passwords for the various features I needed to add an entry in the hosts file for tridioncme as I named the site that. In IIS manager I remove the default website.

And I am stuck, the installer is for vanilla Tridion 2011 and I need a fixed installer to get it up and running on Windows Server 2012.

Installing the Tridion 2011 databases

I have had to adjust the settings for SQL Server to allow also SQL Server authentication. I also set the password for the sa user account. Same as the password I will use for all accounts. I also neede to enable the account.

The next issue I ran into was that it need MSXML 4 installed, which was quickly solved by downloading it from Microsofts site and installing it. I also managed to install the VMWare tools, finally. They were unavailable when I started this project but not I got them, not sure what they will improve but it feels better to have them in place.

When I ran the database manager tool, I installed all types of databases using all default settings. As password I kept on using Tridion2011. I am getting fast at typing that on my gaming keyboard. šŸ™‚

Installing Windows Server 2012 (trial) in VMWare player

So I have acquired both Windows Server 2012 trial version and VMWare player. Time to install. When I setup the virtual machine I noticed VMWare player tried to be clever if I choose the ISO as CD driver directly, safest is to add it later when you are about to boot the virtual machine.

I choose to install the standard edition of Windows Server 2012, with GUI.

I then choose to do a custom install, using the drive as it was created by default by VMWare player, 60GB. It should be enough. That was all I needed to do to get installing, besides to agree to the license.

I choose the password to be Tridion2011, seemed to fit the purpose well and it will be the same for all accounts I create.

After installing it is time to update the OS and installing the VMWare tools, which fails. I guess I will have to do without them now as I do not seem to find a quick fix.

It sure is a hazzle to be able to download SQL Server 2012 Express Edition, with tools, in Windows Server 2012. But I managed to get it going and it is where I will end this session, which turned out more as a historic log of events, live while doing it. My intention is that with these notes I will be able to do it all over again, quickly, when the license for windows expires.

Tridion development

So I decided to also try to setup a (virtual) Tridion development server using all free and trial products. On advice from a colleague I am documenting this and I decided putting it all here would be a good way to keep it all documented.

I choose to use the free VMWare player and a trial version of Windows Server 2012 (developer) as the base of my virtual Tridion environment.

My target is to have a self contained image, that will be easily reinstalled, that will allow all and any development to extend Tridion 2011.

Al Gore and Internet

Many joke about how Al Gore claimed to have created the Internet. I always defend Al Gore and his role in making the Internet possible. In his role as senator he was part of financing the research that later became the Internet.

Even one of the fathers of Internet, Vint Cerf, is giving Al Gore some credit.

The Vice President [Al Gore]Ā deserves credit for his early recognition of the valueĀ of high speed computing and communication and for his long-term and consistent articulation of the potential value of the Internet to AmericanĀ citizens and industry and, indeed, to the rest of the world.

Learn more about the Internet

What many does not know about the Internet is that it is a really amazing system of connected networks. Information are transferred around this network by using a bunch of tables telling us where the information we need are and then sending our requests and responses around it.

Sometimes it stops working and I found this blog interesting in analyzing a failure, why it failed and how it was fixed.

Why Google Went Offline Today and a Bit about How the Internet Works