Change to single setup.

This commit is contained in:
Jan Eitzinger
2021-09-13 13:20:43 +02:00
parent 4436f76a63
commit f1bc23d11f
7 changed files with 116 additions and 299 deletions

View File

@@ -1,13 +1,10 @@
#!/usr/bin/env bash
if [ "$APP_CLUSTERCOCKPIT_INIT" = true ]; then
rm -rf /var/www/symfony/* /var/www/symfony/.??*
git clone https://github.com/ClusterCockpit/ClusterCockpit .
git clone -b $CLUSTERCOCKPIT_BRANCH https://github.com/ClusterCockpit/ClusterCockpit .
if [ "$APP_ENV" = dev ]; then
git checkout develop
composer install --no-progress --optimize-autoloader
yarn install
yarn encore dev