yii2 advanced application template demo site
Λεπτομέρειες
- Λεπτομέρειες
- Κατηγορία: Web Development
- Δημιουργηθηκε στις Πέμπτη, 20 Φεβρουαρίου 2014 13:18
- Τελευταία Ενημέρωση στις Δευτέρα, 28 Ιουλίου 2014 06:26
- Δημοσιεύτηκε στις Πέμπτη, 20 Φεβρουαρίου 2014 13:27
- Γράφτηκε από τον/την Administrator
- Εμφανίσεις: 28788
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:
You can then install the application using the following command:
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.
- Execute the init command and select dev as environment. php /path/to/yii-application/init
- Create a new database and adjust the components.db configuration in common/config/main-local.php accordingly.
- Apply migrations with console command yii migrate.
- 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/