- Homebrew
- Ruby-build / rbenv
brew install rbenv
brew install ruby-build
- Ruby 1.9.3-p194 (other Ruby 1.9's should work, but let's keep things consistent just in case)
rbenv install 1.9.3-p194
- MongoDB
brew install mongodb
- Clone this repo
git clone git@github.com:mhayes/deployfx.git
- Run
bundle install
- Run
script/bootstrap
which will copyconfig/*.yml.sample
toconfig/*.yml
files. - Run the server
bundle exec rails s
- Go to
http://localhost:3000/auth/twitter
to login - To become an admin you'll need to manually set the
admin
flag to true. *bundle exec rails c
*irb> User.first.update_attribute(:admin, true)
bundle exec cap deploy