You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
container-overlay/scripts/taiga/setup.sh

33 lines
740 B

#!/bin/bash
# Install Taiga in Production
# https://docs.taiga.io/setup-production.html#_introduction
set -ueo pipefail
export PATH="/lib/rc/bin:$PATH"
echo "Taiga setup"
. /var/db/repos/calculate/scripts/ini.sh
chown taiga: /var/calculate/ini.env
su - taiga -c '/var/db/repos/container/scripts/taiga/install.sh'
/var/db/repos/container/scripts/taiga/postgresql.sh
/var/db/repos/container/scripts/taiga/rabbitmq.sh
/var/db/repos/container/scripts/taiga/config.sh
su - taiga -c '/var/db/repos/container/scripts/taiga/migrate.sh'
if [[ ! -e /etc/runlevels/default/taiga ]]; then
cl-setup-system
rc-update -u
fi
openrc
echo "All is done! Open the link ${ini[taiga.protocol]}://${ini[taiga.taiga_sites_domain]} on your browser."