- Ruby
- Rails
- PostgreSQL
- clone into your chosen folder (eq :
~/works/
) $ cd ~/works/sehatQ
$ bundle install
$ rake db:create
$ rake db:migrate
- register to https://developers.facebook.com/ , create an App called 'sehatQ'.
- on https://developers.facebook.com/apps/YOUR_APP_ID/settings/basic/, set the Site URL to
http://localhost:3000/
- copy the
App ID
andApp Secret
- rename file
~/sehatQ/config/application.yml.tmp
into~/sehatQ/config/application.yml
- open the
~/sehatQ/config/application.yml
, replace thefacebook_app_id
andfacebook_secret
values with yourApp ID
andApp Secret
from the previous step.
$ rails s
- open http://localhost:3000 in your browser