mirror of
https://github.com/YunoHost-Apps/wikijs_ynh.git
synced 2024-09-03 20:36:09 +02:00
Update install steps
This commit is contained in:
parent
e9fae1c614
commit
3f9d638388
1 changed files with 4 additions and 2 deletions
|
@ -204,8 +204,10 @@ chown -R "$app":"$app" "$final_path"
|
|||
|
||||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
sudo -u $app env PATH=$PATH:$nodejs_path yarn install
|
||||
sudo -u $app env PATH=$PATH:$nodejs_path npm run build
|
||||
sudo -u $app env PATH=$PATH yarn cache clean
|
||||
sudo -u $app env PATH=$PATH yarn --frozen-lockfile --non-interactive
|
||||
sudo -u $app env PATH=$PATH yarn build
|
||||
sudo -u $app env PATH=$PATH yarn --production --frozen-lockfile --non-interactive
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue