versions/README.md

21 líneas
633 B
Markdown

2023-07-09 11:55:31 +02:00
# Mastodon versions
This code publish top ten most used versions of Mastodon servers via Mastodon's bot account.
### Dependencies
- **Python 3**
- Running [stats code](https://git.mastodont.cat/spla/stats) in the same host
- Mastodon's bot account.
### Usage:
Within Python Virtual Environment:
1. Run `pip install -r requirements.txt` to install needed libraries.
2. Run `python versions.py`. First run will setup everything up and after that it will publish top ten most used Mastodon versions via the Mastodon's bot account.
3. Use your favourite scheduling method to set `python versions.py` to run once a day.