mirror of
https://github.com/vipul-sharma20/stack-analyze.git
synced 2026-06-28 08:23:02 +00:00
No description
https://cryptic-beach-92808.herokuapp.com
- Python 98.9%
- Procfile 0.6%
- HTML 0.5%
| so_app | ||
| StackAnalyze | ||
| .gitignore | ||
| manage.py | ||
| Procfile | ||
| README.md | ||
| requirements.txt | ||
StackAnalyze
Live Demo
How to run?
git clone git@github.com:vipul-sharma20/stack-analyze.gitcd stack-analyzesudo pip install virtualenv(if virtualenv not installed)- Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default, so you may have pip already.
- If you don't have pip installed, visit here to see steps to install virtualenv: https://virtualenv.readthedocs.org/en/latest/installation.html
virtualenv sosource so/bin/activatepip install -r requirements.txt(wait till the requirements are installed)python manage.py syncdbpython manage.py getdata(Read Below for explanation)python manage.py runserverThis will run the application on http://127.0.0.1:8000/
Getting the data
A custom django-admin command is created to get the data of top 50 tags from
StackOverflow and populate the models. Use:
python manage.py getdata(This may take some time to make requests and store the data)
This command runs script.py of the app to make API requests and store data into the DB