-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhyva.sh
27 lines (20 loc) · 1.27 KB
/
hyva.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
set -xeo pipefail
cd /var/www/html/magento2
composer config repositories.hyva-themes/magento2-theme-module git [email protected]:hyva-themes/magento2-theme-module.git
composer config repositories.hyva-themes/magento2-reset-theme git [email protected]:hyva-themes/magento2-reset-theme.git
composer config repositories.hyva-themes/magento2-email-module git [email protected]:hyva-themes/magento2-email-module.git
composer config repositories.hyva-themes/magento2-default-theme git [email protected]:hyva-themes/magento2-default-theme.git
composer config repositories.hyva-themes/magento2-compat-module-fallback git [email protected]:hyva-themes/magento2-compat-module-fallback.git
composer config repositories.hyva-themes/magento2-fastly-cdn git [email protected]:hyva-themes/hyva-compat/magento2-fastly-cdn.git
ssh-keyscan gitlab.hyva.io >> ~/.ssh/known_hosts
composer require hyva-themes/magento2-default-theme --prefer-source
composer require hyva-themes/magento2-fastly-cdn:dev-main
bin/magento setup:upgrade
composer require yireo/magento2-theme-commands
bin/magento module:enable Yireo_ThemeCommands
bin/magento theme:change Hyva/default
bin/magento setup:static-content:deploy
bin/magento config:set customer/captcha/enable 0
bin/magento cache:clean
bin/magento cache:flush