Skip to content

python-discord/public-stats

Repository files navigation

Python Discord public statistics

Public statistics for the Discord server available at https://stats.pydis.com

Running locally with docker-compose

If you're running this locally, the easiest way is to just use docker-compose. We've provided a docker-compose file that will first start up Graphite, and then build and launch the app.

In order to get the app running, all you need to do is:

docker-compose up

Setting up for production

Graphite

The app expects Graphite to be accessible at the location set in the GRAPHITE_HOST environment variable.

React

The debug react server can be started with yarn start. By default it will proxy requests it does not understand to port 5000 where Flask is running.

Flask

The flask backend can be started with python -m api.

Building

To build the HTML files for production use npm install && yarn build.

You must build the HTML before the Docker image, the HTML must be inside the Docker image so Flask can serve it.

By default, the app expects to find the HTML inside /app/build/*

About

Public statistics portal for Python Discord

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy