Skip to content

Commit eea04cf

Browse files
authored
Merge pull request #284 from classy-python/prod-venv
Create and activate a virtualenv with uv in prod
2 parents 10d16d9 + fcacacc commit eea04cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ build: _uv
2727
python manage.py load_all_django_versions
2828

2929
build-prod: _uv
30+
uv venv --python 3.13
31+
source .venv/bin/activate
3032
uv pip install -r requirements.prod.txt
3133
rm -rf staticfiles/*
3234
python manage.py collectstatic --no-input

0 commit comments

Comments
 (0)