Deploying a Facebook App With Heroku Cloud


Deploying a Facebook App With Heroku enables to your Application on Facebook. Its looks tough at first, but really not that difficult to work. To understand this article cum guide on Deploying a Facebook App With Heroku, you have to read (at least sure you have done those steps) this previous article : Creating a Facebook App of Your Own.

 

Needed Basics for Deploying a Facebook App With Heroku

 

For deploying a Facebook App install the Heroku Toolbelt first from toolbelt.heroku.com . Install it. If you are a Linux / UNIX user or even a GitHub user, you are used with the usual commands. Heroku is a full fledged Computing environment with Ruby, Python, Java, Node.js etc. languages support and supports both SQL and NoSQL database.

Deploying a Facebook App With Heroku Cloud will need full Command Line works. Come on, its easy.

 

Deploying a Facebook App With Heroku Cloud

 

By now you have installed the client App. Double click the on desktop. Its absolutely like GitHub client. It will bring a black window.

 

Deploying a Facebook App With Heroku Cloud

 

Type :

 

heroku login

 

And hit Enter. Type your email and password.  Some funny screenshot taken while writing this guide on Deploying a Facebook App, you can WordPress post editor :

 

heroku login

 

We need to fetch our App’s Source Code located at :

 

https://salty-gorge-5565.herokuapp.com/

 

(Please read the previous post if you have not done already – Creating a Facebook App of Your Own. )

 

So, our app name is salty-gorge-5565 .

 

So, I will run this command to clone it :


 

git clone git@heroku.com:salty-gorge-5565.git -o heroku

 

To paste in bash, simply copy it from notepad and hit . Its a nifty tip.

 

git clone

But I need to go to the directory of our app. Simple command is cd (change directory).

 

cd salty-gorge-5565

 

Noteworthy, git uses vim as default text editor. So to edit the default index.php file, I will run :

 

vim index.php

 

git text editor

 

So we continued editing :

 

vim git edit

 

Refer to vim in git documentation for editing. Briefly, pressing i or insert keywill give you the option to edit. Press several times ESC to get out of Insert-Mode and ZZ to save.

Commit changes :

 

git commit -am "changed greeting"

 

Push it online :

 

git push heroku 

 

Deploying a Facebook App With Heroku Cloud is done.

 

I changed only one line in vim to my name :

 

git facebook

 

This is a very basic guide for Deploying a Facebook App With Heroku Cloud. This is the principle. For real solid App, you have to create an offline app first to test on localhost, then deploy in Heroku Cloud.

 

Signature

 


0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave Lame Behind - Get Engaged

Here’s what we’ve got for you:

Contact Us Today for Smarter Marketing of Knowledge

See each of the premium resources below:

For Publishers and Content Owners

Do you want to optimize your available content?

Do you want to increase the visibility of your content?

Do you want to increase your reliability as an Author?

Do you want your next or existing project to be technically planned?

If your answer to any of these is YES contact us with your approximate budget.

Contact Us Today

For the Media Companies and Advertisers

You must be seeking a publisher website like ours with real content to give an exposure to your client's business?

We provide Industry's Standard opportunities for advertisement.

Do you want some promotion that comes with proper invoicing, SLA on per annum basis?

If your answer is YES contact us today for a quote.

Contact Us Today for Quote

Mentions

  1. Deploying a Facebook App With Heroku Cloud says:

    [...] Read how to Deploy a Facebook App With Heroku Cloud [...]

  2. Deploying a Facebook App With Heroku Cloud says:

    [...] Creating a Facebook App With Heroku Cloud [...]

  3. Heroku Cloud says:

    Deploying a Facebook App With Heroku Cloud…

    Deploying a Facebook App With Heroku enables to run your custom Application on Facebook. Its looks tough at first, but really not that difficult to work….

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>