Преглед изворни кода

Added readme for local env url setup for existing projects

Mark Shust пре 6 година
родитељ
комит
e184dd977f
1 измењених фајлова са 4 додато и 0 уклоњено
  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