diff --git a/scripts/install b/scripts/install index 3d3878b..70c9229 100644 --- a/scripts/install +++ b/scripts/install @@ -178,9 +178,9 @@ env_file="$final_path/.env" export MIX_ENV=prod FLAVOUR=classic -ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc just config +ynh_exec_warn_less just config # generate secrets -ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc just secrets +ynh_exec_warn_less just secrets ynh_replace_string --match_string="HOSTNAME=localhost" --replace_string="HOSTNAME=$domain" --target_file="$env_file" # TODO : mail service ? @@ -194,8 +194,8 @@ ynh_replace_string --match_string="" --replace_string="" --target_file="$env_fil #================================================= ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc mix deps.get --only prod -ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc just js-deps-get -ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc just assets-prepare +ynh_exec_warn_less just js-deps-get +ynh_exec_warn_less just assets-prepare ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc mix phx.digest # create an elexir release