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


Heroku Guide to 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 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 :

 

http://pongsocket.com/tweets/

 

The first thing is that, you need to realize the fact that Heroku Cloud is basically free and the best 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 :

 

https://github.com/AbhishekGhosh/tweetnest-heroku

 

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 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 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 , not MySQL. There are various ways to get an edge above this limitation – either using a paid option on Heroku, using a Cloud you already is using – link Rackspace Cloud 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 :

 

git clone git@heroku.com:afternoon-autumn-6095.git -o heroku

 

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

 

 

cd afternoon-autumn-6095

 

We have shown what we have actually done :

 

 

Heroku Cloud Step by Step Guide

 

After listing (ls) the , you can see basically those for the default crap app of Facebook. 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 :

 

 

git clone git://github.com/AbhishekGhosh/tweetnest-heroku.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 :

 

cd tweetnest-heroku

 

mv * ..

 

cd ..

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 :

 

http://pongsocket.com/tweetnest/

 

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
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.
About Abhishek

Abhishek Ghosh is an Orthopedic Surgeon, Inventor with 216 Patents, Current editor of The Customize Windows Media Group. You can follow and know more about Dr. +Abhishek Ghosh on Google Plus and follow on Twitter as @AbhishekCTRL.

Trackbacks

  1. Heroku Cloud Guide says:

    [...] Heroku Cloud Guide [...]

  2. Heroku Cloud Guide to create Archive For Your Tweets says:

    [...] Heroku Cloud Guide to Create An Easily Customizable Archive [...]

Speak Your Mind

*