mirror of
https://github.com/YunoHost-Apps/immich_ynh.git
synced 2024-09-03 20:36:24 +02:00
Update install
This commit is contained in:
parent
7e12eb3238
commit
32cefd3f2c
1 changed files with 11 additions and 11 deletions
|
@ -143,6 +143,17 @@ rsync -a "$final_path/build/output/usr/src/app/dist/" "$final_path/server/dist/"
|
|||
rsync -a "$final_path/build/output/usr/src/app/node_modules/" "$final_path/server/node_modules/"
|
||||
ynh_secure_remove --file="$final_path/build/output"
|
||||
|
||||
# Install immich machine learning
|
||||
pushd $final_path/build
|
||||
detect_arch
|
||||
./docker-image-extract altran1502/immich-machine-learning:$IMMICH_ML_VERSION 2>&1
|
||||
popd
|
||||
mkdir -p "$final_path/ml/dist/"
|
||||
mkdir -p "$final_path/ml/node_modules/"
|
||||
rsync -a "$final_path/build/output/usr/src/app/dist/" "$final_path/ml/dist/"
|
||||
rsync -a "$final_path/build/output/usr/src/app/node_modules/" "$final_path/ml/node_modules/"
|
||||
ynh_secure_remove --file="$final_path/build/output"
|
||||
|
||||
# Install immich web
|
||||
pushd $final_path/build
|
||||
detect_arch
|
||||
|
@ -159,17 +170,6 @@ pushd $final_path/build/output/usr/src/app
|
|||
# sudo tree
|
||||
popd
|
||||
#rsync -a "$final_path/build/output/usr/src/app/build/" "$final_path/web/"
|
||||
ynh_secure_remove --file="$final_path/build/output"
|
||||
|
||||
# Install immich machine learning
|
||||
pushd $final_path/build
|
||||
detect_arch
|
||||
./docker-image-extract altran1502/immich-machine-learning:$IMMICH_ML_VERSION 2>&1
|
||||
popd
|
||||
mkdir -p "$final_path/ml/dist/"
|
||||
mkdir -p "$final_path/ml/node_modules/"
|
||||
rsync -a "$final_path/build/output/usr/src/app/dist/" "$final_path/ml/dist/"
|
||||
rsync -a "$final_path/build/output/usr/src/app/node_modules/" "$final_path/ml/node_modules/"
|
||||
|
||||
#ynh_secure_remove --file="$final_path/build"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue