Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 977 Bytes

File metadata and controls

24 lines (19 loc) · 977 Bytes

server

First steps

  1. Install and configure PostgreSQL 9.1+
  2. Run postgres -V to see if you already have it.
  3. Make sure that the server's messages language is English; this is required by the ActiveRecord Postgres adapter.
  4. Install libxml2, g++, and make.
  5. Install rvm
  6. Clone the project
  7. Cd project folder and install Ruby 1.9.3 as rvm suggests.
  8. Install Bundler
  9. Copy config/database.yml.sample to config/database.yml. Edit the file to point to your postgres instance.
  10. Create the "moodkick" user

Before you start Rails

  1. bundle install
  2. bundle exec rake db:create db:migrate db:test:prepare db:seed
  3. Try running tests: bundle exec rake
  4. bundle exec rails server

You should now be able to connect to rails on http://localhost:3000