-
Notifications
You must be signed in to change notification settings - Fork 3
A newbie's guide to working on Kajoo
bodacea edited this page Mar 12, 2011
·
5 revisions
We're using a git repository to hold the code, and PivotalTracker to track bugs on this project. If either of those terrify you (but you can code in Ruby/Rails okay), try this:
###Get the code
To copy the codebase from git onto your local machine the first time:
- Open a terminal window (on Ubuntu, that's Applications->Accessories->Terminal on the top menu)
- Go to the directory where you keep your code. For diehards on Ubuntu, this is /home/yourname/source where yourname is your username (you'll have to create this directory if you don't have it). The magic words for this in the terminal window are “cd source”, or “cd /home/yourname/source” if you've managed to get yourself lost already.
- Type “git clone [email protected]:buspreneurs/startupbus-platform.git”
- Type “cd kajoo”
- Lots of words will appear. Hit return a couple of times, then type “q” and say “yes” when you're asked a “yes/no” question.
- Type “bundle install”
###create the database
- Go into directory “home/yourname/source/kajoo/config”
- Create a copy of file database.sample.yml and name it database.yml – the magic words for this are “cp config/database.sample.yml config/database.yml”
- Go back up to the kajoo main directory (“cd ..”).
- type “rake db:setup”
###Start the server and play with your copy of Kajoo
- type “rails server”
- Open webpage “http://localhost:3000/