mirror of
https://github.com/YunoHost-Apps/wikijs_ynh.git
synced 2024-09-03 20:36:09 +02:00
Add path for $app user
This commit is contained in:
parent
25470c40b6
commit
7a10c13835
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,8 @@ ynh_system_user_create $app
|
|||
|
||||
chown -R $app: $final_path
|
||||
pushd $final_path
|
||||
sudo -u "$app" ynh_use_nodejs
|
||||
ynh_use_nodejs
|
||||
export PATH="$PATH:$nodejs_path"
|
||||
sudo -u "$app" npm install "graphql@^0.13.1"
|
||||
sudo -u "$app" npm install "acorn@^6.0.0"
|
||||
sudo -u "$app" npm install "babel-core@>=6.0.20"
|
||||
|
|
Loading…
Add table
Reference in a new issue