diff --git a/README.md b/README.md index 54bd499..9bd6480 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ DIRECTORY STRUCTURE ------------------- apps/ ready-to-use Web apps built on Yii 2 - bootstrap/ a simple app supporting user login and contact page + basic/ a simple app supporting user login and contact page build/ internally used build tools docs/ documentation yii/ framework source files diff --git a/apps/bootstrap/LICENSE.md b/apps/basic/LICENSE.md similarity index 100% rename from apps/bootstrap/LICENSE.md rename to apps/basic/LICENSE.md diff --git a/apps/bootstrap/README.md b/apps/basic/README.md similarity index 75% rename from apps/bootstrap/README.md rename to apps/basic/README.md index a1376ba..47e5ca6 100644 --- a/apps/bootstrap/README.md +++ b/apps/basic/README.md @@ -1,5 +1,5 @@ -Yii 2 Bootstrap Application -=========================== +Yii 2 Basic Application Template +================================ **NOTE** Yii 2 and the relevant applications and extensions are still under heavy development. We may make significant changes without prior notices. Please do not @@ -7,10 +7,10 @@ use them for production. Please consider using [Yii v1.1](https://github.com/yii if you have a project to be deployed for production soon. -Thank you for choosing Yii 2 - the new generation of high-performance PHP framework. +Thank you for using Yii 2 Basic Application Template - an application template +that works out-of-box and can be easily customized to fit for your needs. -The Yii 2 Bootstrap Application is a Web application template that you can easily customize -to fit for your needs. It is particularly suitable for small Websites which mainly contain +Yii 2 Basic Application Template is best suitable for small Websites which mainly contain a few informational pages. @@ -49,11 +49,11 @@ curl -s http://getcomposer.org/installer | php You can then install the Bootstrap Application using the following command: ~~~ -php composer.phar create-project --stability=dev yiisoft/yii2-bootstrap bootstrap +php composer.phar create-project --stability=dev yiisoft/yii2-app-basic yii-basic ~~~ -Now you should be able to access the Bootstrap Application using the URL `http://localhost/bootstrap/www/`, -assuming `bootstrap` is directly under the document root of your Web server. +Now you should be able to access the Bootstrap Application using the URL `http://localhost/yii-basic/www/`, +assuming `yii-basic` is directly under the document root of your Web server. ### Install from an Archive File diff --git a/apps/bootstrap/assets/.gitignore b/apps/basic/assets/.gitignore similarity index 100% rename from apps/bootstrap/assets/.gitignore rename to apps/basic/assets/.gitignore diff --git a/apps/bootstrap/commands/HelloController.php b/apps/basic/commands/HelloController.php similarity index 100% rename from apps/bootstrap/commands/HelloController.php rename to apps/basic/commands/HelloController.php diff --git a/apps/bootstrap/composer.json b/apps/basic/composer.json similarity index 83% rename from apps/bootstrap/composer.json rename to apps/basic/composer.json index d44e35a..29b05d1 100644 --- a/apps/bootstrap/composer.json +++ b/apps/basic/composer.json @@ -1,7 +1,7 @@ { - "name": "yiisoft/yii2-bootstrap", - "description": "Yii 2 Bootstrap Application", - "keywords": ["yii", "framework", "bootstrap"], + "name": "yiisoft/yii2-app-basic", + "description": "Yii 2 Basic Application Template", + "keywords": ["yii", "framework", "basic", "application template"], "homepage": "http://www.yiiframework.com/", "type": "project", "license": "BSD-3-Clause", diff --git a/apps/bootstrap/config/assets.php b/apps/basic/config/assets.php similarity index 100% rename from apps/bootstrap/config/assets.php rename to apps/basic/config/assets.php diff --git a/apps/bootstrap/config/console.php b/apps/basic/config/console.php similarity index 100% rename from apps/bootstrap/config/console.php rename to apps/basic/config/console.php diff --git a/apps/bootstrap/config/main.php b/apps/basic/config/main.php similarity index 100% rename from apps/bootstrap/config/main.php rename to apps/basic/config/main.php diff --git a/apps/bootstrap/config/params.php b/apps/basic/config/params.php similarity index 100% rename from apps/bootstrap/config/params.php rename to apps/basic/config/params.php diff --git a/apps/bootstrap/controllers/SiteController.php b/apps/basic/controllers/SiteController.php similarity index 100% rename from apps/bootstrap/controllers/SiteController.php rename to apps/basic/controllers/SiteController.php diff --git a/apps/bootstrap/models/ContactForm.php b/apps/basic/models/ContactForm.php similarity index 100% rename from apps/bootstrap/models/ContactForm.php rename to apps/basic/models/ContactForm.php diff --git a/apps/bootstrap/models/LoginForm.php b/apps/basic/models/LoginForm.php similarity index 100% rename from apps/bootstrap/models/LoginForm.php rename to apps/basic/models/LoginForm.php diff --git a/apps/bootstrap/models/User.php b/apps/basic/models/User.php similarity index 100% rename from apps/bootstrap/models/User.php rename to apps/basic/models/User.php diff --git a/apps/bootstrap/requirements.php b/apps/basic/requirements.php similarity index 100% rename from apps/bootstrap/requirements.php rename to apps/basic/requirements.php diff --git a/apps/bootstrap/runtime/.gitignore b/apps/basic/runtime/.gitignore similarity index 100% rename from apps/bootstrap/runtime/.gitignore rename to apps/basic/runtime/.gitignore diff --git a/apps/bootstrap/vendor/.gitignore b/apps/basic/vendor/.gitignore similarity index 100% rename from apps/bootstrap/vendor/.gitignore rename to apps/basic/vendor/.gitignore diff --git a/apps/bootstrap/views/layouts/main.php b/apps/basic/views/layouts/main.php similarity index 100% rename from apps/bootstrap/views/layouts/main.php rename to apps/basic/views/layouts/main.php diff --git a/apps/bootstrap/views/site/about.php b/apps/basic/views/site/about.php similarity index 100% rename from apps/bootstrap/views/site/about.php rename to apps/basic/views/site/about.php diff --git a/apps/bootstrap/views/site/contact.php b/apps/basic/views/site/contact.php similarity index 100% rename from apps/bootstrap/views/site/contact.php rename to apps/basic/views/site/contact.php diff --git a/apps/bootstrap/views/site/index.php b/apps/basic/views/site/index.php similarity index 100% rename from apps/bootstrap/views/site/index.php rename to apps/basic/views/site/index.php diff --git a/apps/bootstrap/views/site/login.php b/apps/basic/views/site/login.php similarity index 100% rename from apps/bootstrap/views/site/login.php rename to apps/basic/views/site/login.php diff --git a/apps/bootstrap/www/assets/.gitignore b/apps/basic/www/assets/.gitignore similarity index 100% rename from apps/bootstrap/www/assets/.gitignore rename to apps/basic/www/assets/.gitignore diff --git a/apps/bootstrap/www/css/site.css b/apps/basic/www/css/site.css similarity index 100% rename from apps/bootstrap/www/css/site.css rename to apps/basic/www/css/site.css diff --git a/apps/bootstrap/www/index.php b/apps/basic/www/index.php similarity index 100% rename from apps/bootstrap/www/index.php rename to apps/basic/www/index.php diff --git a/apps/bootstrap/yii b/apps/basic/yii similarity index 100% rename from apps/bootstrap/yii rename to apps/basic/yii diff --git a/apps/bootstrap/yii.bat b/apps/basic/yii.bat similarity index 100% rename from apps/bootstrap/yii.bat rename to apps/basic/yii.bat