Add composer (#5947)

This commit is contained in:
Slaviša Arežina
2025-07-12 13:22:58 +02:00
committed by GitHub
parent 20e9e9efe8
commit f4ac341c15
2 changed files with 5 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ update_os
PG_VERSION="16" setup_postgresql
PHP_APACHE="YES" PHP_MODULE="pgsql" PHP_VERSION="8.2" setup_php
setup_composer
fetch_and_deploy_gh_release "baikal" "sabre-io/Baikal"
msg_info "Setting up PostgreSQL Database"
@@ -32,6 +33,8 @@ $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER TEMP
msg_ok "Set up PostgreSQL Database"
msg_info "Configuring Baikal"
cd /opt/baikal
$STD composer install
cat <<EOF >/opt/baikal/config/baikal.yaml
database:
backend: pgsql