1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wekan_ynh.git synced 2024-09-03 20:36:09 +02:00

Merge pull request #9 from yalh76/without_npm_install

Without npm install
This commit is contained in:
yalh76 2019-03-06 21:16:28 +01:00 committed by GitHub
commit 089ec9824c
2 changed files with 4 additions and 20 deletions

View file

@ -166,16 +166,11 @@ ynh_system_user_create $app "$final_path"
#=================================================
# SPECIFIC SETUP
#=================================================
# INSTALL WEKAN NPM DEPENDENCIES
#=================================================
ynh_print_info "Installing wekan npm dependencies ..."
# Install wekan dependencies
chown -R $app $final_path
pushd $final_path/programs/server
ynh_use_nodejs
npm install
popd
# Start mogodb
ynh_print_info "Starting mongodb ..."
systemctl enable mongodb
systemctl restart mongodb
#=================================================
# SETUP SYSTEMD

View file

@ -137,17 +137,6 @@ chown -R $app: "$final_path"
chmod -R 640 "$final_path"
find "$final_path" -type d -print0 | xargs -0 chmod 750
#=================================================
# INSTALL WEKAN NPM DEPENDENCIES
#=================================================
ynh_print_info "Installing wekan npm dependencies ..."
# Relaunch a npm install
pushd $final_path/programs/server
ynh_use_nodejs
npm install
popd
#=================================================
# SETUP SSOWAT
#=================================================