mirror of
https://github.com/YunoHost-Apps/mobilizon_ynh.git
synced 2024-09-03 19:46:19 +02:00
Adding script progression during setup
This commit is contained in:
parent
9488e76cf0
commit
f86d714ce1
1 changed files with 2 additions and 1 deletions
|
@ -165,18 +165,19 @@ ynh_backup_if_checksum_is_different --file="$config"
|
|||
#=================================================
|
||||
# MAKE SETUP
|
||||
#=================================================
|
||||
ynh_script_progression --message="Making setup..."
|
||||
|
||||
# Give permission to the final_path
|
||||
chown -R "$app":"$app" "$final_path"
|
||||
|
||||
pushd $final_path/$app/js
|
||||
ynh_script_progression --message="Building NodeJS..."
|
||||
ynh_use_nodejs
|
||||
sudo -u $app env PATH=$PATH yarn install
|
||||
sudo -u $app env PATH=$PATH NODE_BUILD_MEMORY=1024 yarn run build
|
||||
popd
|
||||
|
||||
pushd $final_path/$app
|
||||
ynh_script_progression --message="Building Elixir..."
|
||||
sudo -u "$app" MIX_ENV=prod mix local.hex --force
|
||||
sudo -u "$app" MIX_ENV=prod mix local.rebar --force
|
||||
sudo -u "$app" MIX_ENV=prod mix deps.get
|
||||
|
|
Loading…
Add table
Reference in a new issue