Ubuntu has now days awesome start/stop system called Upstart which has replaced /sbin/init. It is also capable to supervising processes. It is really simple to add new processes to upstart. I wanted my blog start automatically on system boot and therefore I added my blog under upstarts control.
Long time from previous post. I have been quite busy with my work and other hobbies and therefore haven’t had too much time for hacking. This month I had some spare time and started migrating my VPS from Slicehost to Linode. I have one python program where I use MongoDB and Mongokit which I was installing with easy_install. For all depencies I picked lastest versions and result wast that program wasn’t working.
I have read nice posts of Gunicorn and decided to try it out. Until now I this blog was running top of Flup and from very beginning I had some bad feelings about it. This Django based blog is running on small VPS and that’s why I’m really interested of low memory footprint. I read that Gunicorn has small memory footprint and high performance so I installed it on my VPS. Setting up Gunicorn was really easy and straightforward process which took only few minutes and released almost 40 Mb memory. I will explain the installation and configuration process shortly.
In our company some developers from time to time propose we should move from Subversion to Git. I don’t see any point for that because Subversion is working quite well for us and if someone wants to use Git they can do it with git-svn. However for my pet projects I want to use some DVCS and for that I have used Git for a while. When I started to investigate Byteflow I also started to use Mercurial because Byteflow source is on Mercurial repository. I have also investigated little bit Bazaar, but from that I don’t have any real use experience (hope I will get some day). You can find out lot of hype and discussion about Git, but I have to say I have little bit ambivalence feelings of Git.
In first post I mentioned I would cover Byteflow installation and deployment process in next post. That wasn’t actually true because this third post :) I have developed with PHP for years and have recently tried out some developing with Python. Python frameworks that I have explored are Django, Web2py and Pylons. I started with Django and really like it. Also Pylons looks really nice. Web2py has some nice ideas but the concept feels somehow weird (development happens on browser). When I had an idea of this blog I had feeling that I would get it up and running in shortest time if I use Django. Then I started look for ready to use Django blog app and found Byteflow. Installation on local machine was quite easy but installation on server I had some problems.