GithubHelp home page GithubHelp logo

tweet-store-es-public's Introduction

About 
_____
Details about the implementation can be found here
http://abrarsheik.blogspot.in/2014/05/choice-of-elastic-search-over-mysql-for.html
http://abrarsheik.blogspot.in/2014/06/tweet-store-architectural-design-with.html

Link to the actual project is www.peoplefied.com

INSTALLATION
____________

1. Install and Setup MySQL and Elastic Search.
2. clone this repo onto your system and goto the downloaded directory.
3. Setup MySQL config in "db_config.php".
  	$db_host = 'localhost';
  	$db_user = 'root';
  	$db_password = '';
  	$db_name = 'tweetStore'; 
4. Setup values in "config.php" for tweeting api constants.
	define('TWITTER_CONSUMER_KEY','');
	define('TWITTER_CONSUMER_SECRET','');
	define('OAUTH_TOKEN','');
	define('OAUTH_SECRET','');
5. Create sql database by the name 'tweetStore' or whatever you set in your "db_config.php".
6. Create SQL schema from mysql_database_schema.sql .
7. (optional) If you have your ES running on different machine make your connection related settings in ElasticConnectorForTweetStore.php

8. run : 
	composer install
9. install curl
        sudo apt-get install curl libcurl3 libcurl3-dev php5-curl


RUN
___

1. Run "get_tweets.php"
	nohup php get_tweets.php &
2. Run "parse_tweets.php"
	nohup php parse_tweets.php &

tweet-store-es-public's People

Contributors

abrarsheikh avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.