소스 검색

Added auto-rename.

xaav 14 년 전
부모
커밋
8d1d88c596
2개의 변경된 파일15개의 추가작업 그리고 12개의 파일을 삭제
  1. 11 12
      README.md
  2. 4 0
      bin/vendors

+ 11 - 12
README.md

@@ -1,12 +1,11 @@
-Packagist
-=========
-
-Package Repository Website for Composer
-
-Installation
-------------
-
-- Clone the repository
-- Run `bin/vendors install` to get all the vendors.
-- Copy `app/config/parameters.ini.dist` to `app/config/parameters.ini` and edit
-  relevant values for your setup.
+Packagist
+=========
+
+Package Repository Website for Composer
+
+Installation
+------------
+
+- Clone the repository
+- Run `bin/vendors install` to get all the vendors.
+- Open `app/config/parameters.ini` and edit the relevant values for your setup.

+ 4 - 0
bin/vendors

@@ -36,6 +36,10 @@ if (!is_dir($vendorDir)) {
     mkdir($vendorDir, 0777, true);
 }
 
+if (!file_exists($rootDir.'/app/config/parameters.ini')) {
+    copy($rootDir.'/app/config/parameters.ini.dist', $rootDir.'/app/config/parameters.ini');
+}
+
 // versions
 $versions = array();
 if ('install' === $command && file_exists($rootDir.'/deps.lock')) {