-
Notifications
You must be signed in to change notification settings - Fork 0
Installing Crumple
landlessness edited this page Sep 26, 2010
·
6 revisions
Prerequisites
- install ruby
- i suggest using RVM to handle ruby installs & versions: http://rvm.beginrescueend.com)
- i’m using version 1.8.7 at the moment
- 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