Ver código fonte

Updated README with new format for /etc/hosts

Mark Shust 5 anos atrás
pai
commit
292dda7f55
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -133,7 +133,7 @@ bin/download 2.3.3
 # composer create-project --repository=https://repo.magento.com/ --ignore-platform-reqs magento/project-enterprise-edition=2.3.3 src
 
 # Create a DNS host entry for the site:
-echo "127.0.0.1 magento2.test" | sudo tee -a /etc/hosts
+echo "127.0.0.1 ::1 magento2.test" | sudo tee -a /etc/hosts
 
 # Run the setup installer for Magento:
 bin/setup magento2.test
@@ -155,7 +155,7 @@ cp -R ~/Sites/existing src
 # or: git clone git@github.com:myrepo.git src
 
 # Create a DNS host entry for the site:
-echo "127.0.0.1 yoursite.test" | sudo tee -a /etc/hosts
+echo "127.0.0.1 ::1 yoursite.test" | sudo tee -a /etc/hosts
 
 # Start some containers, copy files ot them and then restart the containers:
 docker-compose up -d