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 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
|
2021-05-21 08:08:04 +02:00
|
|
|
# php bin/console doctrine:schema:create --no-interaction
|
|
|
|
#php bin/console doctrine:migrations:migrate --no-interaction
|
|
|
|
#php bin/console doc:fix:load --no-interaction
|
2021-05-19 14:27:44 +02:00
|
|
|
|
|
|
|
exec "$@"
|