ソースを参照

Changed sequence of commands

Moved the command "bin/mysqldump", since this is only available for a new "docker-magento" user after downloading the Docker Compose template.
sfritzsche 1 年間 前
コミット
325257095f
1 ファイル変更3 行追加3 行削除
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -194,9 +194,6 @@ open https://magento.test
 #### Existing Projects
 
 ```bash
-# Take a backup of your existing database:
-bin/mysqldump > ~/Sites/existing/magento.sql
-
 # Create your project directory then go into it:
 mkdir -p ~/Sites/magento
 cd $_
@@ -204,6 +201,9 @@ cd $_
 # Download the Docker Compose template:
 curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
 
+# Take a backup of your existing database:
+bin/mysqldump > ~/Sites/existing/magento.sql
+
 # Replace with existing source code of your existing Magento instance:
 cp -R ~/Sites/existing src
 # or: git clone git@github.com:myrepo.git src