Statistics for websites using Ghost, the best platform for blogging. Learn more at Ghost.org.
The website uses Flask (a python framework) and is hosted on Heroku. The website looks for Public API access (deprecated), or for the meta tag added to the header. Then it requests API data about the posts, cleans the data, and feeds it into Chart.js HTML5 Canvas charts.
- Install and setup virtual environment
pip install virtualenv virtualenv env
- Activate environment (on Mac):
- Activate environment (on Windows):
- Install python dependencies
pip install -r requirements.txt
- Start Flask local server
The server can be reached at http://localhost:5000 and updates automatically as long as
app.debug = True in deploy.py.