Django, Linux, Postgres, Python

Installing Django 1.2.3 on Ubuntu 10.04 & PostgreSQL

Installing Postgres and Django

 sudo apt-get install postgresql pgadmin3 python-psycopg2
apt-get install python-setuptools
easy_install django 

Configuring Postgres

sudo su
passwd postgres
su postgres
psql template1

The last instruction should open the psql shell, where you can run the following:

General, Git, Linux

Installing SmartGit 2.01 on Ubuntu Linux 10.04

SmartGit is undoubtedly my best git client both for Windows and Linux. I’ve installed it a couple of times in the last few months  already and it now is the time to stop learning how to install it again and again. Here I demonstrate how to install SmartGit 2.01 on Ubuntu 10.04

SmartGit offers many features but my best feature is the Conflict Solver. As the name implies, it helps you resolve version conflicts. Doing this without a GUI is a pain hence I treasure it. New in version 2 is a section on the bottom right of the window which shows Pushable Commits, which I think is a nice feature.

SmartGit was developed using Java so you’ll have to install Sun Java JRE. Below are full instructions on how to install both JRE and SmartGit. Installing SmartGit earlier than v2 is the same as below only that you won’t need to reinstall git.

Continue reading


It’s 2011! Happy New Year!

2010 was a great year, and 2011 promises to be even better. Started blogging almost a year ago and thanks to a good friend of mine, I’ve learnt how to create better tutorials. Thanks Mich!

New tutorials coming soon. Please fell free to leave comments and express yourself. You can also request for specific tutorials or share your ideas.

Wishing you a memorable and prosperous New Year!