First, have pip installed.
Now install the libraries:
sudo pip install -r requirements.txt
Download mongodb and decompress it.
cd /path/to/your/mongodb/bin
mongod --dbpath /path/to/your/db --bind_ip your_ip --port your_port
Download and install Anaconda.
Make a copy of config.sample.py
and rename it to config.py
.
Edit config.py
and feel free to create subclasses that inherit Config
class.
Fill in the blanks for CONSUMER_KEY
, CONSUMER_SECRET
, ACCESS_TOKEN
and ACCESS_TOKEN_SECRET
.
These values are from your own twitter apps.
python -m collector "Keyword to search" --config YourOwnConfigClassName
Replace YourOwnConfigClassName
to the class you created in config.py
.
Start ipython notebook to run analyze code.
ipython notebook --matplotlib=inline
Then access ipython notebook
and open analyze.ipynb
.
collector
- Collecting Data
- Technique Support
- Report
- Presentation
analyzer
- Draw plots
- Project Proposal
- Report
- Presentation