Sunday, October 18, 2009

My GoogleAppEngine is working now!!

Hurray!!

Finally I have successfully get my Google App Engine up and running. I am able to see the hello world string appear in my browser when I'm pointing my URL to localhost:8080. Following the tutorial provided by Google (here is the link), it wasn't mention clearly on how the Hello World application suppose to be running. It just mention this:

google_appengine/dev_appserver.py helloworld/


Initially I tough I must have my Apache setup in order to run the Google App. hehe...

I have my Google App Engine SDK install in one directory, say Directory A. And then I have my source code locate in Directory B. It doesn't matter where the source code must put, it just my development style. When compiling the source code, it will automatically fire up the server. This is so different from the way I did in programming, where I have to tell the compiler which file to compile. Whereas Google App Engine "compiler" target on the whole directory. In order words, in the helloworld directory, I have app.yaml and helloworld.py, I just need to supply the helloworld directory instead of single individual file, like this:

./dev_appserver.py HelloWorld

One thing to note, the ./ simbol must put at the front of dev_appserver.py, otherwise Linux will not able to recorgnise that command.

Enjoy your programming @!

Powered by ScribeFire.

Saturday, October 10, 2009

My first attempts to OSX86

I have been spending a lot of my effort on searching OSX86 v10.6 operating system. Anyhow the feed was so limited. The average download speed was about 3KB - 5KB, and required 18 - 20 days to complete the download. One of my friend shares out his OSX86 v10.4.x to me. Although it is quite old to me, but I am still OK with it because I just need it to learn Xcode programming. Trying the whole night to install it in Virtual Box and VMWare, neither one is working. Fortunately I found OSX86 v10.5.5, the progress is still downloading, hope this will bring me some good news.

Blogged with the Flock Browser