feat(installer): post install setup instructions

This commit is contained in:
jo 2022-05-08 16:20:52 +02:00 committed by Kyle Robbertze
parent 91f8a51a1e
commit a9c2271559
2 changed files with 18 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -81,6 +81,8 @@ Vagrant.configure('2') do |config|
--in-place \
http://192.168.10.100:8080
libretime-api migrate
libretime-api set_icecast_passwords --from-icecast-config
SCRIPT
config.vm.provision 'install', type: 'shell', inline: $script

17
install
View File

@ -706,5 +706,20 @@ service_restart_if_active libretime-liquidsoap
if $is_first_install; then
section "Instructions"
info "Edit your configuration files $CONFIG_FILEPATH to finalize the install process!"
printf "
${yellow}\
To finalize the installation process, start by editing your configuration file $CONFIG_FILEPATH.
Once configured, run the following command to setup the database:
${cyan}\
$ sudo -u $LIBRETIME_USER libretime-api migrate
${yellow}\
Finally, run the following command to configure the default icecast passwords in the database:
${cyan}\
$ sudo libretime-api set_icecast_passwords --from-icecast-config
${reset}"
fi