mirror of
https://github.com/YunoHost-Apps/photoprism_ynh.git
synced 2024-09-03 19:56:41 +02:00
Add npm
This commit is contained in:
parent
f1dbe17127
commit
13c6783ff1
1 changed files with 3 additions and 0 deletions
|
@ -129,6 +129,9 @@ ynh_add_nginx_config
|
|||
|
||||
pushd "$final_path"
|
||||
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
|
||||
ynh_use_go
|
||||
export GOPATH="$final_path/go"
|
||||
|
|
Loading…
Add table
Reference in a new issue