Browse Source

renamed backstage → backend

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
88b05cdfeb
  1. 12
      apps/advanced/README.md
  2. 0
      apps/advanced/backend/assets/.gitkeep
  3. 0
      apps/advanced/backend/config/.gitignore
  4. 0
      apps/advanced/backend/config/assets.php
  5. 2
      apps/advanced/backend/config/main.php
  6. 0
      apps/advanced/backend/config/params.php
  7. 2
      apps/advanced/backend/controllers/SiteController.php
  8. 0
      apps/advanced/backend/models/.gitkeep
  9. 0
      apps/advanced/backend/runtime/.gitignore
  10. 0
      apps/advanced/backend/views/layouts/main.php
  11. 0
      apps/advanced/backend/views/site/index.php
  12. 0
      apps/advanced/backend/views/site/login.php
  13. 0
      apps/advanced/backend/www/.gitignore
  14. 0
      apps/advanced/backend/www/assets/.gitignore
  15. 0
      apps/advanced/backend/www/css/site.css
  16. 4
      apps/advanced/composer.json

12
apps/advanced/README.md

@ -10,7 +10,7 @@ if you have a project to be deployed for production soon.
Thank you for using Yii 2 Advanced Application Template - an application template
that works out-of-box and can be easily customized to fit for your needs.
Yii 2 Advanced Application Template is best suitable for large projects requiring frontend and backstage separation,
Yii 2 Advanced Application Template is best suitable for large projects requiring frontend and backend separation,
deployment in different environments, configuration nesting etc.
@ -20,18 +20,18 @@ DIRECTORY STRUCTURE
```
common
config/ contains shared configurations
models/ contains model classes used in both backstage and frontend
models/ contains model classes used in both backend and frontend
console
config/ contains console configurations
controllers/ contains console controllers (commands)
migrations/ contains database migrations
models/ contains console-specific model classes
runtime/ contains files generated during runtime
backstage
backend
assets/ contains application assets such as JavaScript and CSS
config/ contains backstage configurations
config/ contains backend configurations
controllers/ contains Web controller classes
models/ contains backstage-specific model classes
models/ contains backend-specific model classes
runtime/ contains files generated during runtime
views/ contains view files for the Web application
www/ contains the entry script and Web resources
@ -107,7 +107,7 @@ the installed application. You only need to do these once for all.
Now you should be able to access:
- the frontend using the URL `http://localhost/yii-advanced/frontend/www/`
- the backstage using the URL `http://localhost/yii-advanced/backstage/www/`
- the backend using the URL `http://localhost/yii-advanced/backend/www/`
assuming `yii-advanced` is directly under the document root of your Web server.

0
apps/advanced/backstage/assets/.gitkeep → apps/advanced/backend/assets/.gitkeep

0
apps/advanced/backstage/config/.gitignore → apps/advanced/backend/config/.gitignore vendored

0
apps/advanced/backstage/config/assets.php → apps/advanced/backend/config/assets.php

2
apps/advanced/backstage/config/main.php → apps/advanced/backend/config/main.php

@ -13,7 +13,7 @@ return array(
'basePath' => dirname(__DIR__),
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'preload' => array('log'),
'controllerNamespace' => 'backstage\controllers',
'controllerNamespace' => 'backend\controllers',
'modules' => array(
),
'components' => array(

0
apps/advanced/backstage/config/params.php → apps/advanced/backend/config/params.php

2
apps/advanced/backstage/controllers/SiteController.php → apps/advanced/backend/controllers/SiteController.php

@ -1,6 +1,6 @@
<?php
namespace backstage\controllers;
namespace backend\controllers;
use Yii;
use yii\web\Controller;

0
apps/advanced/backstage/models/.gitkeep → apps/advanced/backend/models/.gitkeep

0
apps/advanced/backstage/runtime/.gitignore → apps/advanced/backend/runtime/.gitignore vendored

0
apps/advanced/backstage/views/layouts/main.php → apps/advanced/backend/views/layouts/main.php

0
apps/advanced/backstage/views/site/index.php → apps/advanced/backend/views/site/index.php

0
apps/advanced/backstage/views/site/login.php → apps/advanced/backend/views/site/login.php

0
apps/advanced/backstage/www/.gitignore → apps/advanced/backend/www/.gitignore vendored

0
apps/advanced/backstage/www/assets/.gitignore → apps/advanced/backend/www/assets/.gitignore vendored

0
apps/advanced/backstage/www/css/site.css → apps/advanced/backend/www/css/site.css

4
apps/advanced/composer.json

@ -25,8 +25,8 @@
},
"extra": {
"yii-install-writable": [
"backstage/runtime",
"backstage/www/assets",
"backend/runtime",
"backend/www/assets",
"console/runtime",
"console/migrations",

Loading…
Cancel
Save