Skip to content

EddyDavies/Twitter_Representative_Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Representative Sample

Set these environment variables in the following form before running

export TWITTER_QUERY=sharks
export TWITTER_DBNAME=sharks
export TWITTER_DATE='Jun 21 Aug 21'
export MONGO_CLIENT=<mongo client address>

Install from requirements.txt with:
pip install -r requirements.txt

docker run -it -v /home/ubuntu/data:/data/db -d mongo mongod --auth

or without authentications

docker run -it -v /home/ubuntu/data:/data/db -d mongo

or with none default port

docker run -it -v /home/ubuntu/data:/data/db -p 27042:27017 -d mongo

Then from daily_twitter_sample directory run:
python core.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages