See the titles of the 10 newest User-defined-related questions and the 10 most voted in the past week.
-
On the left sidebar, a tools section gives the entrance to two pages.
-
Each serves a real-time monitored page on 10 latest or 10 trending Questions on "#Android".
-
By clicking on the buttons/ interactive UI, a user can
- Navigate to original Question page via new tab.
- Preview Question & Answer threads by clicking on the listed question.
- See the Votes & Answer count in a straightforward UI.
-
StackOverflow disallows accessing any answer-related-content via iFrames or API. Parsing the RSS feed became the next best option.
-
These pages can be stacked or modified to take user inputs on monitoring different tags/filters with few changes.
Features like voting are not implemented as it requires complex auth process. UI components are in place though.
-
Following two features doesn't use real-time scraping due to API limits and costs. Few minor modifications will allow more frequent runs.
-
Almost responsive design.. smartphone compatible.
- Data visualization of "User heatmap who asked a Android related question over the past week"
- This feature is implemented using Leaflet.js
- Data visualization of "Technologies most related to Android over the past week"
- This feature is implemented using wordcloud2.js and a Geocoder API.
- Django - The web framework for perfectionists with deadlines.
- jQuery - jQuery JavaScript Library.
- Bootstrap - The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
- Font-Awesome - The iconic SVG, font, and CSS toolkit.
- Leaflet - JavaScript library for mobile-friendly interactive maps.
- wordcloud2.js - Tag cloud/Wordle presentation on 2D canvas or HTML.
- Feedparser - Parse feeds in Python.
- Docker - Docker Engine.
- Gunicorn - Python Http Server.
- Tom Tom - A Geocoder API Service.
- StackExchange API - StackExchange API
- Cleanup code
- Better Responsive Design
Docker - Gunicorn - Tencent Cloud
- Modify settings.py in StackOverseer, make sure docker is set to
True
-
To run the project in pure local env (Not recommended).
-
To build the source code in your local Docker
- The docker container will automatically reflect latest change of source code.
So don't build again, run
> docker-compose up
instead.
- Clone the code, make sure docker is running
- Make sure the DOCKER Variable is set to True in settings.py
- Run following commands
[Windows Git Bash]> winpty docker-compose run web python manage.py createsuperuser [Unix & Powershell]> docker-compose run web python manage.py createsuperuser docker-compose build docker-compose up
- The docker container will automatically reflect latest change of source code.
So don't build again, run
-
Pycharm - Preference - Plugin - Marketplace
-
Search for Pylint, Install it and reboot Pycharm. Pylint will appear as an icon in lower left corner, there's one inside VCS - Commit too.
- Python 3.7+
python
on the PATH
import sys
print("Python EXE : " + sys.executable)