From a9c2271559996a2f7bdf7780936543f043316889 Mon Sep 17 00:00:00 2001 From: jo Date: Sun, 8 May 2022 16:20:52 +0200 Subject: [PATCH] feat(installer): post install setup instructions --- Vagrantfile | 2 ++ install | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index abaa45a68..5f5351cb9 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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 diff --git a/install b/install index 63f6c539c..da246ede5 100755 --- a/install +++ b/install @@ -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