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:
commit
feb870def1
2 changed files with 4 additions and 20 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue