2021-05-19 14:27:44 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-05-19 15:32:22 +02:00
|
|
|
rm -rf /var/www/symfony/* /var/www/symfony/.*
|
2021-05-19 15:55:10 +02:00
|
|
|
# git clone https://github.com/ClusterCockpit/ClusterCockpit.git /var/www/symfony/.
|
|
|
|
|
2021-05-19 14:27:44 +02:00
|
|
|
cd /var/www/symfony
|
2021-05-19 15:55:10 +02:00
|
|
|
|
|
|
|
git init
|
|
|
|
git remote add origin https://github.com/ClusterCockpit/ClusterCockpit.git
|
|
|
|
git fetch
|
|
|
|
git checkout feature-47-introduce-graphql-api
|
|
|
|
composer install --no-dev --no-progress --optimize-autoloader
|
2021-05-19 14:27:44 +02:00
|
|
|
yarn install
|
|
|
|
yarn encore production
|
|
|
|
# bin/console doc:mig:mig --no-interaction
|
|
|
|
# bin/console doc:fix:load --no-interaction
|
|
|
|
|
|
|
|
exec "$@"
|