You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-compose exec web /usr/local/bin/upgrade-magento
26
+
dockercompose exec web /usr/local/bin/upgrade-magento
32
27
33
28
## Deploy static content
34
29
.PHONY: static_deploy
35
30
static_deploy:
36
-
docker-compose exec web /usr/local/bin/compile-magento
31
+
dockercompose exec web /usr/local/bin/compile-magento
37
32
38
33
## Launch bash shell into magento container
39
34
.PHONY: shell
40
35
shell:
41
-
docker-compose exec web bash
36
+
dockercompose exec web bash
42
37
43
38
.PHONY: shell-db
44
39
shell-db:
45
-
docker-compose exec db bash
40
+
dockercompose exec db bash
46
41
47
42
## Enable magento cache. Should be disabled to load extensions
48
43
.PHONY: cache-enable
49
44
cache-enable:
50
-
docker-compose exec web /var/www/html/bin/magento cache:enable
45
+
dockercompose exec web /var/www/html/bin/magento cache:enable
51
46
52
47
## Disable magento cache
53
48
.PHONY: cache-disable
54
49
cache-disable:
55
-
docker-compose exec web /var/www/html/bin/magento cache:disable
50
+
dockercompose exec web /var/www/html/bin/magento cache:disable
56
51
57
52
## Flush cache
58
53
.PHONY: cache-flush
59
54
cache-flush:
60
-
docker-compose exec -T web /var/www/html/bin/magento cache:flush
55
+
dockercompose exec -T web /var/www/html/bin/magento cache:flush
61
56
62
57
## Set base URL as 127.0.0.1 instead of localhost - fixes session expirey issue
63
58
.PHONY: set-base-url
64
59
set-base-url:
65
-
docker-compose exec -T db mysql -u magento -pmagento -D magento -e 'UPDATE `core_config_data` SET `value`="http://127.0.0.1:3000/" WHERE path="web/secure/base_url"'
60
+
dockercompose exec -T db mysql -u magento -pmagento -D magento -e 'UPDATE `core_config_data` SET `value`="http://127.0.0.1:3000/" WHERE path="web/secure/base_url"'
0 commit comments