Skip to content

maloninc/fever-on-heroku-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fever on Heroku Bootstrap

A bootstrap script to start Fever on Heroku

Why

As you all may know, Google announced that their RSS agregator service, Google Reader going to shut down. To me this is really sad news becuase I relied on Google Reader and Reeder for iOS. Just after hearing the news I've been looking for good substitute, then finally I found Fever (http://feedafever.com/)

Although Fever has a nice feature that it automatically picks up hot news, it requires your own server. Even though many people can have their own server today, it's a little more difficult than just using other hosting services.

However Justin Morris wrote up whole instruction to set up Fever on Heroku platform so that you don't have to have your own servers.

Based on his instruction, I wrote a tiny script to boot up your own Fever service on Heroku.

Requirement

How

Step 1: Run bootstrap script.

sh -c "$(curl -fsSL https://raw.githubusercontent.com/maloninc/fever-on-heroku-bootstrap/master/bootstrap.sh)"

or

Download and run this simple script.

Step 2: After running the script, you will see your browser opening your own Fever site as the following

001

Step 3: Click "proceed regardless".

Step 4: Enter MySQL database credential.

002

You will see the following information just right after running the script.

Here is MySQL database credential
========================================
Array
(
    [scheme] => mysql
    [host] => xx-xxxx-xxxx-00.cleardb.com
    [user] => xxxxxxxxxxxxxxxx
    [pass] => xxxx
    [path] => heroku_xxxxxxxxxxx
    [query] => reconnect=true_
)
========================================

NOTE: "path" is the database name, just leave out the / at the start

Step 5: Purchase Fever license and enter an activation key from Fever site.

003

Step 6: Create login.

Enter your e-mail address and password to login to your own RSS server. You can chose your favorite temperature scale from Celsius and Fahrenheit.

004

Step 7: Click "choose opml" to import your OPML if you need.

005

Step 8: To set up regular job, run the following command. It will open Heroku Scheduler website.

heroku addons:open scheduler

Step 9: Then enter the following commands to the command field

006

./refresh.sh http://<YOUR-HEROKU-APP>/ <FEVER-ACTIVATION-KEY> <DB_SERVER_NAME> <DB_NAME> <USERNAME> <PASSWORD>

Becuase Heroku will restart the instance every day, causing Fever lock you out, refresh.sh script re-activate your Fever automatically. Also MySQL addon ClearDB which your Fever used has a limitation of 5MB storage, as a reslution purge.php script which is called in refresh.sh removes old data which are 2+ days before.

Special Thanks

Thanks to Justin Morris for writing up a gist this bootstrap is based on.

https://gist.github.com/plasticine/5175588

Verified Platforms

  • Mac OS X 10.8

About

A bootstrap script to start Fever on Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published