Monday, December 13, 2010

Making Google AppEngine Portable

Working without a computer has often forced me to depend on small portable tools enough to fit on my flash drive. It hasn't been difficult to carry around a wamp server and a good editor some reference files, even ruby on rails sdk.

It has been a little difficult to put a Google AppEngine on my flash. First the sdk could not install on a flash, it could not access or create applications hosted on the flash disk. As such, if I am developing on an offline computer, I have had to deploy the app through my mobiles 3G tether. I used more than K300 which I could use about less than half to deploy through a cafe.

But cafes most of the times don't allow installation of applications. So left me stranded for a while, to work anything Google AppEngine for its support would give such huddles.

Past few days, working with version 1.37, I decided to just copy the Google folder from the programs files and the python compiler and copied it to my flash drive basing on the reasoning that in its restriction to desktop only was based on common drive letter not fixed to c: since installations can be on other drives yet on the desktop. So copying as whole to the flash drive, I would fool it to think its still on the desktop. I tested it and found that it worked fine and tested it again at a cafe it worked but I had to reconfigure it so it could be aware of the python interpreter folder. All the same I found it worthwhile for deploying my apps.

It still needs to write to registry which could be fixed, I think. This would be probably the reason it seems to lose configuration is the change of drive letter of the flash when used on different PCs.

I wonder however if version recently released allows portability. It could be great to work with it with less huddles possible.