Skip to content

Commit

Permalink
use venv
Browse files Browse the repository at this point in the history
use venv

use venv

use venv

use venv
  • Loading branch information
tsirysndr committed Nov 8, 2023
1 parent 6f4194d commit 75462ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dagger/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ export const djangoTests = async (src = ".") => {
"-L/usr/lib/x86_64-linux-gnu -lmysqlclient"
)
.withExec([
"sh",
"bash",
"-c",
"\
python3 -m venv venv && \
chmod a+x venv/bin/activate && \
venv/bin/activate && \
ls -ltr venv/bin && \
. venv/bin/activate && \
pip install -r requirements.txt --use-pep517 && \
cd todo_project && \
python3 manage.py makemigrations && \
Expand Down

0 comments on commit 75462ac

Please sign in to comment.