Hello, World!

This is just a test post to see how it works, how the blog looks like, links, code snippets and all.

Let’s do a simple Hello World Program for that.

Print Hello, World! in Java
1
2
3
4
5
public class HelloWorld {
    public static void main(String [] args) {
        System.out.println("Hello, World!");
    }
}

Just the final steps…

Fire up Git Bash
1
2
3
4
5
# Go to the directory where octopress is
cd c:/github/blog # for me
rake generate # Generate to the proper format
rake preview # Check how it looks like by visiting localhost:4000/blog in Chrome
rake deploy # Add, Commit, Push to the repo

Looks nice!

Ok then, that’s all for now!

Watch out for better posts coming up. ;)

Comments