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
backend
folder - To install dependencies, run
poetry install
- Create a
.env
file based off theexample.env
- Setup the database with
poetry run aerich upgrade
- If you use the
poetry shell
command you can ommit thepoetry run
prefix 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
frontend
folder - To install dependencies, run
yarn
- Create a
.env
file based off theexample.env
- Run
yarn dev
to 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
sync
folder - To install dependencies, run
poetry install
- Create a
.env
file based off theexample.env
- To run the app you can do
poetry run python3 -m src.bot
- You'll need Docker
- Create
backend/.env
based 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 build
to build the image - Run
docker compose up -d
to start the app
- To view logs you can run
docker compose logs -f