From 065aca46cd2cded7f0a8d2ea38ac2e279469a6d0 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Tue, 10 Sep 2024 02:17:42 +0200 Subject: [PATCH] use uv for install (#8082) (#8095) * use uv for install (#8082) (cherry picked from commit 360171fac579904fc61fd34f40f0d886e878fd3f) # Conflicts: # contrib/packager.io/functions.sh * Update mlc_config.json --- contrib/packager.io/functions.sh | 4 ++-- docs/mlc_config.json | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/packager.io/functions.sh b/contrib/packager.io/functions.sh index ff962172cf..5127f4ec90 100755 --- a/contrib/packager.io/functions.sh +++ b/contrib/packager.io/functions.sh @@ -298,8 +298,8 @@ function update_or_install() { # Run update as app user echo "# POI12| Updating InvenTree" - sudo -u ${APP_USER} --preserve-env=$SETUP_ENVS bash -c "cd ${APP_HOME} && pip install wheel" - sudo -u ${APP_USER} --preserve-env=$SETUP_ENVS bash -c "cd ${APP_HOME} && invoke update | sed -e 's/^/# POI12| u | /;'" + sudo -u ${APP_USER} --preserve-env=$SETUP_ENVS bash -c "cd ${APP_HOME} && pip install uv wheel" + sudo -u ${APP_USER} --preserve-env=$SETUP_ENVS bash -c "cd ${APP_HOME} && invoke update --uv | sed -e 's/^/# POI12| u | /;'" # Make sure permissions are correct again echo "# POI12| Set permissions for data dir and media: ${DATA_DIR}" diff --git a/docs/mlc_config.json b/docs/mlc_config.json index 4146cd4cb2..9de13b7050 100644 --- a/docs/mlc_config.json +++ b/docs/mlc_config.json @@ -6,6 +6,9 @@ { "pattern": "http://localhost" }, + { + "pattern": "https://localhost:5173/" + }, { "pattern": "http://127.0.0.1" },