Tracks emoji use to generate an emoji leaderboard for the MedShift slack
The Slack Bot which tracks use and the API
- You'll need: Python 3.10.x+ and Poetry
- Change directories to the
backendfolder - To install dependencies, run
poetry install - Create a
.envfile based off theexample.env - Setup the database with
poetry run aerich upgrade- If you use the
poetry shellcommand you can ommit thepoetry runprefix from these commands
- If you use the
- To run the app you can do
poetry run python3 -m src.app
Simple frontend written in SvelteKit
- You'll need Node 18+
- Change directories to the
frontendfolder - To install dependencies, run
yarn - Create a
.envfile based off theexample.env - Run
yarn devto run the frontend in dev mode
Discord bot which syncs the top emojis to a Discord server
- You'll need: Python 3.10.x+ and Poetry
- Change directories to the
syncfolder - To install dependencies, run
poetry install - Create a
.envfile based off theexample.env - To run the app you can do
poetry run python3 -m src.bot
- You'll need Docker
- Create
backend/.envbased offbackend/example.env- If you need to connect to the host machine, you can use
host.docker.internal
- If you need to connect to the host machine, you can use
- Create a
frontend/.env - Run
docker compose buildto build the image - Run
docker compose up -dto start the app
- To view logs you can run
docker compose logs -f