|
@@ -9,10 +9,6 @@ sed -e 's/5f5929ef9f2ec4ca048a2add261d22c92807630f/ce31e720d60451784b9fdb3769e43
|
|
docker-compose -f docker-compose.yml up -d
|
|
docker-compose -f docker-compose.yml up -d
|
|
sleep 1 #Ensure containers are started...
|
|
sleep 1 #Ensure containers are started...
|
|
|
|
|
|
-curl -O https://files.magerun.net/n98-magerun2.phar
|
|
|
|
-chmod +x n98-magerun2.phar
|
|
|
|
-mv n98-magerun2.phar src/bin/n98-magerun2.phar
|
|
|
|
-
|
|
|
|
echo "Copying all files from host to container..."
|
|
echo "Copying all files from host to container..."
|
|
rm -rf src/vendor #Clear for step below
|
|
rm -rf src/vendor #Clear for step below
|
|
bin/copytocontainer --all
|
|
bin/copytocontainer --all
|
|
@@ -80,7 +76,7 @@ bin/clinotty bin/magento deploy:mode:set developer
|
|
bin/clinotty bin/magento indexer:reindex
|
|
bin/clinotty bin/magento indexer:reindex
|
|
|
|
|
|
echo "Forcing deploy of static content to speed up initial requests..."
|
|
echo "Forcing deploy of static content to speed up initial requests..."
|
|
-bin/clinotty bin/magento setup:static-content:deploy -f
|
|
|
|
|
|
+bin/clinotty bin/magento setup:static-content:deploy -f
|
|
|
|
|
|
echo "Enabling Redis for cache..."
|
|
echo "Enabling Redis for cache..."
|
|
bin/clinotty bin/magento setup:config:set --no-interaction --cache-backend=redis --cache-backend-redis-server=redis --cache-backend-redis-db=0
|
|
bin/clinotty bin/magento setup:config:set --no-interaction --cache-backend=redis --cache-backend-redis-server=redis --cache-backend-redis-db=0
|
|
@@ -102,4 +98,4 @@ echo "Generating SSL certificate..."
|
|
bin/setup-ssl $BASE_URL
|
|
bin/setup-ssl $BASE_URL
|
|
|
|
|
|
echo "Docker development environment setup complete."
|
|
echo "Docker development environment setup complete."
|
|
-echo "You may now access your Magento instance at https://${BASE_URL}/"
|
|
|
|
|
|
+echo "You may now access your Magento instance at https://${BASE_URL}/"
|