8. 7. Log in from the CLI
% heroku login
Enter your Heroku credentials.
Email: mackato@gmail.com
Password:
Uploading ssh public key /Users/kato/.ssh/id_rsa.pub
11 10 12
12. 11. Set Facebook Env Vars
Add Foreman to Gemfile
gem "foreman"
Create .env file in the root of your app
FACEBOOK_APP_ID=YOUR_DEVELOPMENT_APP_ID
FACEBOOK_SECRET=YOUR_DEVELOPMENT_APP_SECRET
11 10 12
13. 12. Start local server
% foreman start
http://localhost:5000/
11 10 12
14. 13. Commit and push your
changes
% git ci -am "add foreman gem"
% g push heroku
Counting objects: 7, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 466 bytes, done.
Total 4 (delta 3), reused 0 (delta 0)
...
To git@heroku.com:floating-leaf-1045.git
2ab1863..a9b4422 master -> master
11 10 12