- Install and configure PostgreSQL 9.1+
- Run
postgres -V
to see if you already have it. - Make sure that the server's messages language is English; this is required by the ActiveRecord Postgres adapter.
- Install libxml2, g++, and make.
- Install rvm
- Clone the project
- Cd project folder and install Ruby 1.9.3 as rvm suggests.
- Install Bundler
- Copy
config/database.yml.sample
toconfig/database.yml
. Edit the file to point to your postgres instance. - Create the "moodkick" user
bundle install
bundle exec rake db:create db:migrate db:test:prepare db:seed
- Try running tests:
bundle exec rake
bundle exec rails server
You should now be able to connect to rails on http://localhost:3000