Skip to content

Commit f4ac341

Browse files
authored
Add composer (#5947)
1 parent 20e9e9e commit f4ac341

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

ct/baikal.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ function update_script() {
4545
cp -r /opt/baikal-backup/Specific/ /opt/baikal/
4646
chown -R www-data:www-data /opt/baikal/
4747
chmod -R 755 /opt/baikal/
48+
cd /opt/baikal
49+
$STD composer install
4850
msg_ok "Configured Baikal"
4951

5052
msg_info "Starting Service"

install/baikal-install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ update_os
1515

1616
PG_VERSION="16" setup_postgresql
1717
PHP_APACHE="YES" PHP_MODULE="pgsql" PHP_VERSION="8.2" setup_php
18+
setup_composer
1819
fetch_and_deploy_gh_release "baikal" "sabre-io/Baikal"
1920

2021
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
3233
msg_ok "Set up PostgreSQL Database"
3334

3435
msg_info "Configuring Baikal"
36+
cd /opt/baikal
37+
$STD composer install
3538
cat <<EOF >/opt/baikal/config/baikal.yaml
3639
database:
3740
backend: pgsql

0 commit comments

Comments
 (0)