Heroku Cloud Guide : Create An Easily Customizable Archive For Your Tweets

Download PDF

Heroku Cloud Guide to Create An Easily Customizable Archive For Your Tweets. It is a step by step guide that will enable any level of use to work and build. Again, this is the biggest Cloud Computing tutorial proving non product selling website on this Earth. If you get stuck on any step, simply use the search box on this website like searching on Google Web Search. You might found another Heroku Cloud Guide or any theoretical article to clean your concept (or your anger from failure).

 

Heroku Cloud Guide to Create An Easily Customizable Archive : Introduction

 

Everything needs introduction. That is applicable for this Heroku Cloud Guide to Create An Easily Customizable Archive too. The first question that is coming up in your mind is – what the thing is ? Look at this thing :

 

 

The first thing is that, you need to realize the fact that Heroku Cloud is basically free and the best way to use Heroku Cloud is to create a hosted Facebook App (because you will get SSL for free too) in the way we demonstrated with WordPress installation before !

So practically you can use a Facebook Tab named Tweets on your official FaceBook page. SSL increases reliability plus the domain name is of Facebook !

So let us start to do it. The needed repository is here :

 

 

In other words, if you understand that WordPress guide linked above, just replace WordPress with this excellent App. The last thing you might be thinking – if you need non Facebook domain, what should be done to get own domain. That custom domain name part id described here.

 

Heroku Cloud Guide to Create An Easily Customizable Archive For Your Tweets : Steps

 

So this is our Facebook Page where we already have added the Facebook Tab for Heroku Hosted Facebook App :

 

Create An Easily Customizable Archive For Your Tweets

 

In other words, if you click (at that time) that Updates link. The default webpage of Facebook PHP App hosted on Heroku will appear.

 

Default Heroku Facebook App

 

Now basically all works are fully related to Heroku Toolbelt, Command Line and Git. We are showing from Mac, there will be no practical difference between Mac, Windows and Linux if you follow that previous linked WordPress guide. We will clone this crap default App. Delete everything, Clone that Repo from GitHub and deploy it. As simple as 1-2-3. Only catch of this guide is – Heroku has postgresql as free database, not MySQL. There are various ways to get an edge above this limitation – either using a paid option on Heroku, using a Cloud Database you already is using – link Rackspace Cloud Database for our case, also this was demonstrated before.  If you do not have Rackspace Cloud account, you practically need not to think – do a bit search, there are lot of big vendors are waiting with a free tier of usage to promote their Cloud Database as a Service.

 

In our case, the app’s original name is afternoon-autumn-6095 and url is https://afternoon-autumn-6095.herokuapp.com. Please copy-paste the commands respecting this name – use your own app name and url, otherwise obviously nothing can be done.

 

Open your Terminal / iTerm2 / Git Bash whatever, and login to Heroku Cloud :

 

Heroku Cloud Guide

 

It is better to use a proper web folder, Heroku Cloud by default lack it. We have shown how to get a real webroot in Heroku before. You need to have cURL enabled (or PHP 5.1 with the PECL JSON module installed in addition).

First Clone that git like in our case :

 

 

Now, after cloning is done, change directory to that app folder, i.e. in our case :

 

 

 

We have shown what we have actually done :

 

 

Heroku Cloud Step by Step Guide

 

After listing (ls) the files, you can see basically those files for the default crap app of Facebook. Remove them. rm command removes a file. rmdir command removes a folder. rm -rf command removes a folder with content. So this is an empty directory. Now clone that git :

 

 

 

But the thing has been, the files are in in subfolder instead of root :

 

 

Git Cloud

 

For UNIX (read Mac) the commands will be :

 

 

 

All are moved to the root app folder. For Linux, one dot is used, which was demonstrated on Cloud Server. List files and you will get the list :

 
Moving files to root from sub directory command

 
Now basically you need to do the configaration, which has been described here :

 

 

And push and deploy to Heroku Cloud. That is basically the same like the previous WordPress Guide. The difference is – you will not create a postgresql database, you will add an MySQL database of your choice and push it.

 

Abhishek-Ghosh

0saves

Here’s what we’ve got for you which might like :

Also, we have YouTube Videos and Apple iTunes Podcast Channel (the link will open iTunes App on Mac).

Additionally, performing a search on this website can help you.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Google+ or Twitter to join the conversation right now!

If you want to Advertise on our Article or want Business Partnership, you are invited to Contact us.

Contact Us