Explorar el Código

Added readme for local env url setup for existing projects

Mark Shust hace 6 años
padre
commit
e184dd977f
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      README.md

+ 4 - 0
README.md

@@ -145,6 +145,10 @@ bin/clinotty mysql -hdb -umagento -pmagento magento < existing/magento.sql
 # Update database connection details:
 # vi src/app/etc/env.php
 
+# Set base URLs to local environment URL:
+bin/magento config:set web/secure/base_url https://magento2.test/
+bin/magento config:set web/unsecure/base_url https://magento2.test/
+
 bin/restart
 
 open https://magento2.test