This is a simple project to test the use of twitter api using just python and Django. So every refresh requires a refresh of the page.
The app displays three panes each displaying the most recent tweets from Andela, Andela Nigeria and Andela Kenya. Each pane has a button at the bottom to refresh its tweets. There is also a central button for refreshing all the panes simultaneously.
- Virtual Environment
- Django 1.8 or greater
- Python
- Clone this repo:
git clone <name of repo>
- Enter the directory and activate virtual environment (command used depends on if you are using virtualenv with virtualenvwrapper or not):
e.g.makevirtualenv <name of virtual environment>
or
virtualenv venv
- Install requirements with:
pip install -r requirements.txt
- Ensure you are in the django project directory where the file manage.py is located. Then run:
python manage.py runserver
- Visit the page on your browser at
http://127.0.0.1:8000
I didn't observe TDD for this one. Needed to test it quickly. Hoping I can come back to write tests.