So as you can probably tell from the title I have done a lot since my last post.
First, I am already 5 chapters down. So far way ahead of schedule, which is great, because some of it was definitely pretty optimistic later on anyways.
Chapter 4 was a lot of ruby, and going through a lot of what it can do. Chapter 5 was mostly layout, but it had a lot of new and important stuff such as url routing and creating a new controller for our user. I also went back to try and better understand some other concepts. I looked more deeply into the automated testing built into rails, which is really great for finding issues on the spot, however I am not sure I fully understand this enough to know when I should create a test on my own. Hopefully I'll have a better understanding by the end.
Also every chapter has us create a branch in our version control when we start. This is something I have never done before, even though I have used many version control software programs before, none of my jobs had required this. However after learning about it, there were definitely times when this would have been VERY useful, and also it makes a lot of sense. Its something I always knew about, but since I never did it I always was like "meh i guess its not necessary". Instead of explaining it myself, I found this really awesome article on branching. Sahweeet.
I also was getting sick of my big thick book constantly closing on me, and me losing my space, and not being able to copy and paste from book to my code, and googled around a bit... and low and behold, the entire book is free online! So if anyone wants to learn some Ruby on rails, and some of these other cool tools (linux, github, heroku, ruby, gedit) along with me, check it out! Everything is free!! Wish i knew that before I bought the book, but whatever, at least i can take it on trains and stuff with me.
Last but not least, I went back and looked further into heroku, and its a free hosting service for small ruby apps. This was in the book, but I sort of skipped over it at first because it required setup and such. Then I rememberd I am doing this to learn as much as possible so I shouldn't skip anything. Heroku is pretty great, and its allowing me to deploy my sample site live already, and get used to deploying the app from git to production, which is really cool. So if you want to check out my progress on my app check out this link http://severe-robot-761.heroku.com/ obviously there isn't much too it since I'm only on chapter 5, but still pretty cool. Also severe-robot-761 is an auto-naming thing. I can actually rename it whatever I want so long as it isnt taken, but for now I really don't care. Also if I really grow to like this I might just buy some space at heroku and launch my main site from there when all is said and done.
And since everyone loves picture heres a before and after so far of the main page of my app, just to show progress from last time.
Tuesday, June 28, 2011
5 chapters down, filling in the layout, free online book, deployment and branching!
Labels:technology,video games
branching,
deploy,
github,
heroku,
ruby on rails
Saturday, June 25, 2011
Setting up environment and first few chapters
The first few chapters were an introduction to ruby, and setting up the environment.
The book goes through using Linux, so I burned a fedora cd and installed that. I have not used Linux that much, so its a good opportunity to really dive into it. I decided to install it on a usb external hard drive so that I can bring it around anywhere, and update on any machine I have. It has been working out well so far.
![]() |
| My fedora desktop |
One of the first things the book has us do is to set up github, and use that for version control. Github is very similar to other versioning software i have used, but the whole public aspect of it is very new to me. You can view tons of open source software projects on there, and clone repositories etc. If you want to check out my repositories go here https://github.com/teylewr you can follow my code there as well.
I have been trying out different text editors and IDE's, but haven't found anything I am loving yet. I want to try something other than eclipse since thats basically all I have ever used since college, and I want to branch out a bit.
Editors I have tried:
Emacs - wtf is up with emacs... people seem like they love it, but it is so incredibly complicated and hard to find good training on. I wanted to use it but was wayy too confusing and overly complex
Emacs - wtf is up with emacs... people seem like they love it, but it is so incredibly complicated and hard to find good training on. I wanted to use it but was wayy too confusing and overly complex
Gedit - currently using best so far
Vim - Couldnt get it to work with rails coloring, didnt like it much all around
Eclipse
So far in the app I have created some tests, which are built right into rails, set up some views, and did a few more basic things.
![]() |
| Gedit and editing about page |
Labels:technology,video games
coding,
environment,
gedit,
github,
rails
Thursday, June 23, 2011
New Update
So recently I've been dedicating a lot of time to getting kick ass at starcraft. I reached diamond league (top 20%) and have been stuck there for a while, basically around top 5%. I dediated a lot of time to keep improving, and watching pros.
I recently realized if I put all that energy into something productive, I could probably get a lot accomplished, however it is hard to find the motivation on my own. Basically I decided blogging about it will make me feel more commited to doing something.
Since I really grew to love the starcraft community I figured doing something starcraft related would be fun. So I plan on making a starcraft community website.
Since I currently use ruby on rails at my job and I love it, thats what I am going to use to build it.
My first step is going to be going through my rails 3 tutorial book. This will get me a template site to work from, including having user accounts, profiles, and posts. Also it will help me get most, if not all, the concpets I need to build the site.
Another thing to help motivate me is a timeline. If I dont try and get things done by a certain date, I probably wont do it. I have a hard time finishing things on my own.
I have linked the book below, and also starcraft if interested.
I recently realized if I put all that energy into something productive, I could probably get a lot accomplished, however it is hard to find the motivation on my own. Basically I decided blogging about it will make me feel more commited to doing something.
Since I really grew to love the starcraft community I figured doing something starcraft related would be fun. So I plan on making a starcraft community website.
Since I currently use ruby on rails at my job and I love it, thats what I am going to use to build it.
My first step is going to be going through my rails 3 tutorial book. This will get me a template site to work from, including having user accounts, profiles, and posts. Also it will help me get most, if not all, the concpets I need to build the site.
Another thing to help motivate me is a timeline. If I dont try and get things done by a certain date, I probably wont do it. I have a hard time finishing things on my own.
- Step 1 : Complete tutorial book (08/01/11)
- Step 2 : Features for site and basic mockup (08/14/11)
- Step 3: Alpha version (9/01/11)
I have linked the book below, and also starcraft if interested.
Subscribe to:
Comments (Atom)



