File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ update_os
1515
1616PG_VERSION=" 16" setup_postgresql
1717PHP_APACHE=" YES" PHP_MODULE=" pgsql" PHP_VERSION=" 8.2" setup_php
18+ setup_composer
1819fetch_and_deploy_gh_release " baikal" " sabre-io/Baikal"
1920
2021msg_info " Setting up PostgreSQL Database"
@@ -32,6 +33,8 @@ $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER TEMP
3233msg_ok " Set up PostgreSQL Database"
3334
3435msg_info " Configuring Baikal"
36+ cd /opt/baikal
37+ $STD composer install
3538cat << EOF >/opt/baikal/config/baikal.yaml
3639database:
3740 backend: pgsql
You can’t perform that action at this time.
0 commit comments