Tuesday, October 16, 2007

Step 4

OK, today was the day I was going to release whatever was checked in to the world.
  • Moved the CVS repository to a public (util2) server
  • Did the deployment used:
    • lighttpd
    • had a fucking tough time figuring out how to connect to a remote mysql server. Punted it and did a "yum install mysql-server" on util2 and simply used the local mysql server
    • User capistrano -- Man understanding capistrano took some time. I still do not fully understand why I need to create ssh logins into my DB servers also!!!
  • Gunned out the deployment finally -- saw some minor quirks betweek mysql 5 and mysql 4-- which is what we were using initially. (NOT NULL BS)
  • Fixed the shit and we are ready to go.
It's not yet time to go full live -- We'll have to wait for another week before we can go live!

Time Spent: 4 Hours
Investment: $5 (Bought the DirectDNS service for DNS hosting for gamefui)


Step 3(b)

This weekend (Oct 14) got a little more done. Finished up the relationships -- Got really confused, but figured shit out.

Time Spent: 6 Hrs
Investment: $0

Step 3 (a)

On Sunday (Oct 8th) Charlie, myself and Chad spent about 6 hours learning RoR and getting the basics working.

Highlights:
  • Charlie got frustrated with some lame Login/Welcome Shit
  • He rolled in db:migrate operation
  • Uncle Ryan designed some logo/image for us. We did not like it ;-)
  • Game up with the basic Model -->
    • Events
    • EventInstances
    • Users
    • Votes
  • Gunned out some narly ruby code ;-)
Time Spend: 3 Dudes x 6 hours
Investment: $0

Saturday, October 6, 2007

Part 2 : Gettting Shit Done...

Allright, this weekend is the weekend for getting shit done. I've had 1 dude piss about GameFUI and almost everyone else encouraged me to continue. As with any venture, you'll find at least one dude pissing and moaning. But then, you now know who NOT to listen to for future advice.


Charlie and I spent a couple of hours on Ruby/Rails and simply understanding the Ruby model and "way of doing things" on Friday.

Time Spent : 2 Hrs x 2 Dudes
Investment: $24 (Mommy did'nt give us lunch money)

I am now setting up Ruby and the base infrastructure to get a Hello World App running.
Here are some quick hits:
  • Install RUBY
    • I use fedora so I use YUM
    • yum install ruby ruby-devel rdoc irb
  • Install RubyGems (Ruby Package Manager -- Similar to yum, apt-get etc.)
    • tar -xvzf rubygems*; cd rubygems*;ruby setup.rb [Do this as root]
  • Install Rails (the framework)
    • gem install rails --include-dependencies [Do this as root]
    • I had some weird errors crop up, but nothing seemed too dangerous
Game on - I had the RoR installed and running.

Time Spent: 20 Mins
Investment: $1.24 (1 Starbucks Mocha from my fridge)


Ok, I FuBar'd -- I forgot I had IPtables installed on my dev, box and it took me some time to open up port 3000. I first thought that WEBrick was only listening on the localhost interface, and went down a rathole of trying to get WEBrick to listen on all the interfaces on the box. But then I found out it was IPtables -- Opened up Port 3000. Game ON....