Browse Source

Added readme for local env url setup for existing projects

Mark Shust 6 years ago
parent
commit
e184dd977f
1 changed files with 4 additions and 0 deletions
  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:
 # Update database connection details:
 # vi src/app/etc/env.php
 # 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
 bin/restart
 
 
 open https://magento2.test
 open https://magento2.test