Skip to content
landlessness edited this page Sep 26, 2010 · 6 revisions

Prerequisites

  • install ruby
  • install postgres
    • create a user called rails with admin privileges

Install Crumple

  • git clone [email protected]:landlessness/crumple.git
  • cd crumple
  • bundle install
  • cp config/database.yml.example config/database.yml
  • (start postgres)
    • something like: sudo su postgres -c ‘/opt/local/lib/postgresql83/bin/postgres -D /opt/local/var/db/postgresql83/defaultdb’
  • rake db:setup

Test Install

  • (ensure postgres is running)
  • rake RAILS_ENV=test sunspot:solr:start
    • starts full text search engine for the test env
  • rake
    • runs all tests to make sure things are set up well. all tests should pass.

Start Crumple

  • (ensure postgres is running)
  • rake RAILS_ENV=development sunspot:solr:start
    • starts full text search for dev env
  • rails s
    • starts the server
  • browse to: localhost:3000
Clone this wiki locally