-
Notifications
You must be signed in to change notification settings - Fork 0
Home
cangoektas edited this page Mar 3, 2015
·
6 revisions
##Backend
If you have problems with installing the pg gem try creating an env variable called ARCHFLAGS and set it to "-arch x86_64"
- Install rbenv https://github.com/sstephenson/rbenv#homebrew-on-mac-os-x
- Install ruby 2.1.4
- Set 2.1.4 to global ruby version
- Install postgresql
- Clone git repo
- Install "bundler" gem
- Run
bundle install
in application root bundle exec rake db:drop
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed
-
rails server
to start the server