Skip to content

prakhar190/Twitter_api_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version 2.3.1

  • System dependencies Mysql

  • Configuration

  • Database creation Rails db:create

  • Deployment instructions

    • Set the followwing as environment variables
      TWITTER_CONSUMER_KEY=********************************
      TWITTER_CONSUMER_SECRET=*****************************
      TWITTER_ACCESS_TOKEN=********************************
      TWITTER_ACCESS_TOKEN_SECRET=*************************

    • Install Mysql Database on the server

  • Run on local

    • Clone the repo
    • Install ruby 2.3.1
    • Go to the root of project and run bundle Install
    • Make a new file named .env in root of the project and paste the following in that file
      TWITTER_CONSUMER_KEY=********************************
      TWITTER_CONSUMER_SECRET=*****************************
      TWITTER_ACCESS_TOKEN=********************************
      TWITTER_ACCESS_TOKEN_SECRET=*************************
      Replace stars with the original keys. You will have to make a app on twitter's developer account to get these keys.

About

A ROR demo with Twitter api

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published