Skip to content

Commit

Permalink
use uv for install (#8082) (#8095)
Browse files Browse the repository at this point in the history
* use uv for install (#8082)

(cherry picked from commit 360171f)

# Conflicts:
#	contrib/packager.io/functions.sh

* Update mlc_config.json
  • Loading branch information
matmair authored Sep 10, 2024
1 parent 89be7f2 commit 065aca4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/packager.io/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
3 changes: 3 additions & 0 deletions docs/mlc_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
{
"pattern": "http://localhost"
},
{
"pattern": "https://localhost:5173/"
},
{
"pattern": "http://127.0.0.1"
},
Expand Down

0 comments on commit 065aca4

Please sign in to comment.