Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

ivanbrykov/smashingtwitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Smashingtwitter

Smashingtwitter is a YATSA (Yet Another Twitter Searching Application)

The applications uses Twitter API and relies on the following environment variables:

TWITTER_CONSUMER_KEY
TWITTER_CONSUMER_SECRET
TWITTER_OAUTH_TOKEN
TWITTER_OAUTH_TOKEN_SECRET

Thus in order to launch the app these variables have to be specified as following:

TWITTER_CONSUMER_KEY=<key> TWITTER_OAUTH_TOKEN_SECRET=<token-secret> TWITTER_CONSUMER_SECRET=<secret> TWITTER_OAUTH_TOKEN=<token> rails s

In order to run it on heroku you have to create heroku app:

heroku create smashingtwitter

Then set the environment variables:

heroku config:set TWITTER_CONSUMER_KEY=...
heroku config:set TWITTER_CONSUMER_SECRET=...
heroku config:set TWITTER_OAUTH_TOKEN=...
heroku config:set TWITTER_OAUTH_TOKEN_SECRET=...

Then deploy the app:

git push heroku master

Testing

The app is bundled with guard gem that allows background testing. In order to run the testing use the following command:

TWITTER_CONSUMER_KEY=... TWITTER_OAUTH_TOKEN_SECRET=... TWITTER_CONSUMER_SECRET=... TWITTER_OAUTH_TOKEN=... guard -i

About

Smashingtwitter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published