mirror of
https://github.com/YunoHost-Apps/wekan_ynh.git
synced 2024-09-03 20:36:09 +02:00
Remove npm install step
This commit is contained in:
parent
2fe148bdb3
commit
4c1f2fe29a
2 changed files with 0 additions and 14 deletions
|
@ -90,14 +90,6 @@ ynh_system_user_create $app "$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC SETUP
|
# SPECIFIC SETUP
|
||||||
#=================================================
|
#=================================================
|
||||||
# Install wekan dependencies
|
|
||||||
ynh_print_info "Installing npm dependencies ..."
|
|
||||||
chown -R $app $final_path
|
|
||||||
pushd $final_path/programs/server
|
|
||||||
ynh_use_nodejs
|
|
||||||
npm install
|
|
||||||
popd
|
|
||||||
|
|
||||||
# Start mogodb
|
# Start mogodb
|
||||||
ynh_print_info "Starting mongodb ..."
|
ynh_print_info "Starting mongodb ..."
|
||||||
systemctl enable mongodb
|
systemctl enable mongodb
|
||||||
|
|
|
@ -105,12 +105,6 @@ chown -R $app: "$final_path"
|
||||||
chmod -R 640 "$final_path"
|
chmod -R 640 "$final_path"
|
||||||
find "$final_path" -type d -print0 | xargs -0 chmod 750
|
find "$final_path" -type d -print0 | xargs -0 chmod 750
|
||||||
|
|
||||||
# Relaunch a npm install
|
|
||||||
pushd $final_path/programs/server
|
|
||||||
ynh_use_nodejs
|
|
||||||
npm install
|
|
||||||
popd
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue