Switch to uv, bump deps
This commit is contained in:
1 parent
87d88035d9
commit
4b7952a6eb
7 files changed
+545
-824
No files matched your search
Vendored
+4
-4
@@ -14,10 +14,10 @@ def deploy(c):
|
||||
|
||||
with c.cd(project_path), c.prefix('source {}/venv/bin/activate'.format(project_path)):
|
||||
c.run('git pull') # Get source
|
||||
c.run('pip install -U pip poetry')
|
||||
c.run('poetry install') # install deps in virtualenv
|
||||
c.run('python manage.py collectstatic --noinput') # Collect static
|
||||
c.run('python manage.py migrate') # Run DB migrations
|
||||
c.run('pip install -U uv')
|
||||
c.run('uv sync') # install deps in virtualenv
|
||||
c.run('uv run manage.py collectstatic --noinput') # Collect static
|
||||
c.run('uv run manage.py migrate') # Run DB migrations
|
||||
|
||||
# Reload gunicorn
|
||||
c.sudo('/usr/bin/supervisorctl pid mdb.neuf.no | xargs kill -HUP', shell=False)
|
||||
Reference in new issue
Block a user