1
0
Fork 0
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:
anmol 2018-11-05 18:08:50 +05:30
parent 502fa0fbbd
commit 65a6d407d4

View file

@ -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 )