Skip to content

Commit

Permalink
🔨 Update start.sh script to use uv
Browse files Browse the repository at this point in the history
  • Loading branch information
albertsgarde committed Oct 5, 2024
1 parent 70c654b commit 742cad3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#!/bin/bash
# Hack to get repo location. This breaks if the server directory is moved.
# Hack to get repo location.
REPO_PATH=$(dirname $(readlink -f $0))
cd $REPO_PATH
if [ ! -d ".venv" ]; then
python -m venv .venv
fi
source .venv/bin/activate
python -m pip install -r requirements.txt
python -m pip install uv
uv sync
source .env
python -m eadk_discord
uv run eadk_discord

0 comments on commit 742cad3

Please sign in to comment.