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 #12 from yalh76/without_npm_install

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

View file

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

View file

@ -137,17 +137,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
#=================================================
# 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 # SETUP SSOWAT
#================================================= #=================================================