File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11VENDOR =JetRails
22MODULE =Cloudflare
3+ MAGENTO_VERSION =2.4.3
4+ MAGENTO_EDITION =community
35NAMESPACE =$(VENDOR ) "_"$(MODULE )
46NAMESPACE_PATH =$(VENDOR ) "/"$(MODULE )
57VERSION =$(shell git describe --tags `git rev-list --tags --max-count=1`)
@@ -38,9 +40,12 @@ clean: ## Remove generated files and folders
3840nuke : clean # # Remove generated & deployment data
3941 rm -rf ./node_modules ./public_html
4042
43+ install-from-magento : # # Install module from official Magento repo (for testing)
44+ docker-compose -f ./public_html/docker-compose.yml run --rm build composer require --no-ansi jetrails/magento2-cloudflare:1.3.6
45+
4146dev-create : # # Create development environment
4247 composer global config repositories.magento composer https://repo.magento.com/
43- composer create-project --repository-url=https://repo.magento.com/ magento/project-community -edition=2.4.2 ./public_html
48+ composer create-project --repository-url=https://repo.magento.com/ magento/project-$( MAGENTO_EDITION ) -edition=$( MAGENTO_VERSION ) ./public_html
4449 cp .magento.docker.yml .magento.setup.params ./public_html
4550 cd public_html && composer require magento/ece-tools -w
4651 cd public_html && ./vendor/bin/ece-docker build:compose --with-test --with-selenium --no-varnish --mode developer
You can’t perform that action at this time.
0 commit comments