mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 03:26:45 +00:00
* use uv for install (#8082) (cherry picked from commit 360171fac579904fc61fd34f40f0d886e878fd3f) # Conflicts: # contrib/packager.io/functions.sh * Update mlc_config.json
This commit is contained in:
parent
89be7f2699
commit
065aca46cd
@ -298,8 +298,8 @@ function update_or_install() {
|
|||||||
|
|
||||||
# Run update as app user
|
# Run update as app user
|
||||||
echo "# POI12| Updating InvenTree"
|
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} && pip install uv 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} && invoke update --uv | sed -e 's/^/# POI12| u | /;'"
|
||||||
|
|
||||||
# Make sure permissions are correct again
|
# Make sure permissions are correct again
|
||||||
echo "# POI12| Set permissions for data dir and media: ${DATA_DIR}"
|
echo "# POI12| Set permissions for data dir and media: ${DATA_DIR}"
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
{
|
{
|
||||||
"pattern": "http://localhost"
|
"pattern": "http://localhost"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"pattern": "https://localhost:5173/"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"pattern": "http://127.0.0.1"
|
"pattern": "http://127.0.0.1"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user