yii2 advanced application template demo site



User Rating:  / 12
PoorBest 
Details

yii2 framework ( Alpha release ) advanced application template : 

https://github.com/yiisoft/yii2/blob/master/docs/guide/apps-advanced.md

This template is for large projects developed in teams where backend is divided from frontend, application is deployed to multiple servers etc. This application template also goes a bit further regarding features and provides essential database, signup and password restore out of the box.

How to install yii2 Advanced application template

 Install via Composer

If you do not have Composer, you may download it from http://getcomposer.org/ or run the following command on Linux/Unix/MacOS:

View source
curl -s http://getcomposer.org/installer | php


You can then install the application using the following command:

View source
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced /path/to/yii-application


Getting started

After you install the application, you have to conduct the following steps to initialize the installed application. You only need to do these once for all.

  1. Execute the init command and select dev as environment. php /path/to/yii-application/init
  2. Create a new database and adjust the components.db configuration in common/config/main-local.php accordingly.
  3. Apply migrations with console command yii migrate.
  4. Set document roots of your Web server:
  • for frontend /path/to/yii-application/frontend/web/ and using the URL http://frontend/
  • for backend /path/to/yii-application/backend/web/ and using the URLhttp://backend/

 All instructions is here 

My  demo site with yii2 Advanced application template  is:

 for frontend : http://demoyii2.developerpages.gr

 for backend : http://demoyii2-be.developerpages.gr/



You have no rights to post comments

   

Login  

   
   

     

© Developerpages