Skip to content
cangoektas edited this page Mar 3, 2015 · 6 revisions

Instructions on how to set up your Mac

##Backend

If you have problems with installing the pg gem try creating an env variable called ARCHFLAGS and set it to "-arch x86_64"

  1. Install rbenv https://github.com/sstephenson/rbenv#homebrew-on-mac-os-x
  2. Install ruby 2.1.4
  3. Set 2.1.4 to global ruby version
  4. Install postgresql
  5. Clone git repo
  6. Install "bundler" gem
  7. Run bundle install in application root
  8. bundle exec rake db:drop
  9. bundle exec rake db:create
  10. bundle exec rake db:migrate
  11. bundle exec rake db:seed
  12. rails serverto start the server
Clone this wiki locally