2
0
Эх сурвалжийг харах

Use default placement of src/auth.json for composer auth file

Mark Shust 6 жил өмнө
parent
commit
a1ec6ccd2e

+ 2 - 7
README.md

@@ -118,7 +118,6 @@ git init
 
 7. You may now access your site at `http://magento2.test` (or whatever domain you setup).
 
-
 ## Existing Magento Project Setup
 
 See the `compose` folder for sample setups for both Magento 1 and Magento 2. Basically your source code should go in the `src` folder, and you can then kick your project off with `bin/start`. You may have to complete a few of the steps above to get things functioning properly.
@@ -161,6 +160,7 @@ Then, open `PHPStorm > Preferences > Languages & Frameworks > PHP` and configure
     - for PHP 5.6: `/usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so`
     - for PHP 7.0: `/usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so`
     - for PHP 7.1: `/usr/local/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so`
+    - for PHP 7.2: `/usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so`
   - Hitting the reload executable button should find the correct PHP Version and Xdebug debugger configuration.
 
 - `Path mappings`:
@@ -192,7 +192,7 @@ Open up `src/pub/index.php`, and set a breakpoint near the end of the file. Go t
 
 Please first setup Magento Marketplace authentication (details in the [DevDocs](http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html)).
 
-Update the auth credentials within `./dev/composer/auth.json`, replacing your public and private key respectively:
+Update the auth credentials within `./src/auth.json`, replacing your public and private key respectively:
 
 ```
 {
@@ -204,8 +204,3 @@ Update the auth credentials within `./dev/composer/auth.json`, replacing your pu
     }
 }
 ```
-
-If you wish to use your system's `auth.json` file, you can also setup a symlink from your Composer home directory like so:
-
-    ln -s ~/.composer/auth.json dev/auth.json
-

+ 1 - 2
compose/magento-1/docker-compose.yml

@@ -1,5 +1,5 @@
 # Mark Shust's Docker Configuration for Magento (https://github.com/markoshust/docker-magento)
-# Version 16.0.0
+# Version 16.1.1
 
 version: "3"
 
@@ -14,7 +14,6 @@ services:
     volumes: &appvolumes
       - ./src:/var/www/html:delegated
       - ~/.composer:/var/www/.composer:delegated
-      - ./dev/auth.json:/var/www/.composer/auth.json
       - sockdata:/sock
 
   phpfpm:

+ 0 - 8
compose/magento-2-windows/dev/composer/auth.json

@@ -1,8 +0,0 @@
-{
-    "http-basic": {
-        "repo.magento.com": {
-            "username": "MAGENTO_PUBLIC_KEY",
-            "password": "MAGENTO_PRIVATE_KEY"
-        }
-    }
-}

+ 1 - 3
compose/magento-2-windows/docker-compose.yml

@@ -1,5 +1,5 @@
 # Mark Shust's Docker Configuration for Magento (https://github.com/markoshust/docker-magento)
-# Version 16.1.0
+# Version 16.1.1
 
 version: "3"
 
@@ -16,8 +16,6 @@ services:
       - ./src/app:/var/www/html/app:delegated
       - ~/.composer:/var/www/html/var/composer_home:delegated
       - ~/.composer:/var/www/.composer:delegated
-      - ./dev/composer/auth.json:/var/www/html/var/composer_home/auth.json
-      - ./dev/composer/auth.json:/var/www/.composer/auth.json
       - sockdata:/sock
 
   phpfpm:

+ 0 - 8
compose/magento-2/dev/composer/auth.json

@@ -1,8 +0,0 @@
-{
-    "http-basic": {
-        "repo.magento.com": {
-            "username": "MAGENTO_PUBLIC_KEY",
-            "password": "MAGENTO_PRIVATE_KEY"
-        }
-    }
-}

+ 1 - 3
compose/magento-2/docker-compose.yml

@@ -1,5 +1,5 @@
 # Mark Shust's Docker Configuration for Magento (https://github.com/markoshust/docker-magento)
-# Version 16.1.0
+# Version 16.1.1
 
 version: "3"
 
@@ -15,8 +15,6 @@ services:
       - ./src:/var/www/html:delegated
       - ~/.composer:/var/www/html/var/composer_home:delegated
       - ~/.composer:/var/www/.composer:delegated
-      - ./dev/composer/auth.json:/var/www/html/var/composer_home/auth.json
-      - ./dev/composer/auth.json:/var/www/.composer/auth.json
       - sockdata:/sock
 
   phpfpm: