mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
Force install Hex
This commit is contained in:
parent
502fa0fbbd
commit
65a6d407d4
1 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,8 @@ ynh_replace_string "__DB_PWD__" "$db_pwd" "$final_path/$app/config
|
|||
#=================================================
|
||||
# SETUP
|
||||
#=================================================
|
||||
# Give permisiion to the final_path
|
||||
chown -R "$app":"$app" "$final_path"
|
||||
( cd $final_path/$app && sudo -u "$app" MIX_ENV=prod mix local.hex --force )
|
||||
( cd $final_path/$app && sudo -u "$app" mix deps.get )
|
||||
( cd $final_path/$app && sudo -u "$app" MIX_ENV=prod mix ecto.migrate )
|
||||
|
|
Loading…
Add table
Reference in a new issue