- Sign up for github: https://github.com/signup/free
- Install git: http://git-scm.com/download
- Install rvm: https://rvm.io//rvm/install/
- Install ruby
rvm install 1.9.3-p194
- Use ruby 1.9.3:
rvm use 1.9.3-p194 --default
- Update RubyGems:
gem update --system
- Install bundler:
gem install bundler
- Check out the source:
git clone git://github.com/CauseRoot/challengefinder.git
- Change into src dir:
cd challengefinder
- Install required gems:
bundle install
read this if you receive errors - If Nokogiri installation fails please read this page the solution is system dependent. Please be sure to install version 1.5.2
- Initialize the database:
rake db:drop; rake db:migrate
- Start the rake solr task
rake sunspot:solr:start
- Seed the database:
rake db:seed
- Run the app:
rails server
- Go to http://127.0.0.1:3000
- Start solr test server:
rake sunspot:solr:start RAILS_ENV=test
- Test:
rake
ChallengeFinder is deployed using Amazon Elastic Beanstalk: https://aws.amazon.com/elasticbeanstalk/faqs/
- Admin page to enter Challenges: http://localhost:3000/admin/challenges/new