https://github.com/perchunpak/ssps-when-stats
https://github.com/perchunpak/ssps-when-stats
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/perchunpak/ssps-when-stats
- Owner: PerchunPak
- License: mit
- Created: 2024-03-04T14:23:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-31T23:04:45.000Z (over 2 years ago)
- Last Synced: 2024-04-01T00:20:45.023Z (over 2 years ago)
- Language: Python
- Size: 298 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ssps-when-stats
[](https://www.gov.uk/government/news/ukraine-what-you-can-do-to-help)
[](https://github.com/PerchunPak/ssps-when-stats/actions?query=workflow%3Atest)
[](https://github.com/psf/black)
Script that monitors https://www.ssps.cz/zajemci/kriteria-prijimaciho-rizeni-2/prijimaci-rizeni/ and sends a message to Discord when the stats are updated.
Also see https://discord.com/channels/1138194598292885566/1138210016617320659/1211064344071381022 (https://discord.gg/F8pSXtJPMA).
## Installing
```bash
docker run -d \
--name ssps-when-stats \
--restart unless-stopped \
-v /path/to/data/folder:/app/data \
perchunpak/ssps-when-stats
```
Then update your config, it should be self-describable.
## Installing for local developing
```bash
git clone https://github.com/PerchunPak/ssps-when-stats.git
cd ssps-when-stats
```
### Installing `poetry`
Next we need install `poetry` with [recommended way](https://python-poetry.org/docs/master/#installation).
If you use Linux, use command:
```bash
curl -sSL https://install.python-poetry.org | python -
```
If you use Windows, open PowerShell with admin privileges and use:
```powershell
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -
```
### Installing dependencies
```bash
poetry install --no-dev
```
## Thanks
This project was generated with [python-template](https://github.com/PerchunPak/python-template).