mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
fix install steps
This commit is contained in:
parent
a1272c8cf7
commit
5310877d5d
1 changed files with 4 additions and 2 deletions
|
@ -187,11 +187,13 @@ mkdir -p "$final_path/distbin-db"
|
|||
chown -R "$app":"$app" "$final_path"
|
||||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
sudo -u $app env PATH=$PATH npm add hoek@^4.2.1 --save
|
||||
sudo -u $app env PATH=$PATH npm install --ignore-scripts
|
||||
sudo -u $app env PATH=$PATH npm run build
|
||||
popd
|
||||
|
||||
pushd $final_path/dist
|
||||
sudo -u $app env PATH=$PATH npm install --ignore-scripts --production
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue