diff --git a/scripts/install b/scripts/install index 011626a..37b1244 100644 --- a/scripts/install +++ b/scripts/install @@ -62,23 +62,23 @@ chown $app:$app "$install_dir/.env" source $install_dir/.env export WITH_DOCKER=no # or source .env ? # Using this for now +export TERM=linux # why is that not defined ? +export TERMINFO=/etc/terminfo -ynh_script_progression --message="Configuring Bonfire release..." --weight=1 +ynh_script_progression --message="Preparing Bonfire release..." --weight=1 cd $install_dir #ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "mise plugin add erlang https://github.com/asdf-vm/asdf-erlang.git" # add erlang as source #ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "mise install" # install Elixir -ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH mix local.hex --force" # install Hex in non-interractive way -ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just config-basic" -#ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just mix bonfire.deps .update" +ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$ynh_node_load_PATH mix local.hex --force" # install Hex in non-interractive way +### DONT USE GLOBAL NPM INSTALL +ynh_replace_string --match_string="npm install --global" --replace_string="npm install" --target_file="$install_dir/justfile" #================================================= # Building the release #================================================= -ynh_script_progression --message="Building Bonfire release... (This will take a long time)" --weight=1 -export TERM=linux # why is that not defined ? -export TERMINFO=/etc/terminfo -### DONT USE GLOBAL NPM INSTALL -ynh_replace_string --match_string="npm install --global" --replace_string="npm install" --target_file="$install_dir/justfile" +ynh_script_progression --message="Building Bonfire release... (this will take a long time)" --weight=1 +ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just config-basic" +#ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just mix bonfire.deps.update" ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just rel-build" #=================================================