mirror of
https://github.com/YunoHost-Apps/photoprism_ynh.git
synced 2024-09-03 19:56:41 +02:00
Update install
This commit is contained in:
parent
13c6783ff1
commit
82ca1e43ac
1 changed files with 4 additions and 4 deletions
|
@ -129,16 +129,16 @@ ynh_add_nginx_config
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
git init
|
git init
|
||||||
# Setup nodejs and npm
|
|
||||||
ynh_use_nodejs
|
|
||||||
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install 2>&1
|
|
||||||
# Setup go exe and environnement
|
# Setup go exe and environnement
|
||||||
ynh_use_go
|
ynh_use_go
|
||||||
export GOPATH="$final_path/go"
|
export GOPATH="$final_path/go"
|
||||||
export GOCACHE="$final_path/go/.cache"
|
export GOCACHE="$final_path/go/.cache"
|
||||||
export GOBIN=$GOPATH/bin
|
export GOBIN=$GOPATH/bin
|
||||||
|
# Setup nodejs and npm
|
||||||
|
ynh_use_nodejs
|
||||||
|
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install 2>&1
|
||||||
# Build server from source
|
# Build server from source
|
||||||
make all install DESTDIR=$final_path/build 2>&1
|
ynh_exec_as $app env $ynh_node_load_PATH make all install DESTDIR=$final_path/build 2>&1
|
||||||
ynh_secure_remove --file="$final_path/go"
|
ynh_secure_remove --file="$final_path/go"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue