Rabu, 13 Januari 2016

install yii 2 lewat composer

Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Users\user>d:

D:\>cd xampp183\htdocs

D:\xampp183\htdocs>composer global require "fxp/composer-asset-plugin:~1.1.1" 
 

 
 
 
D:\xampp183\htdocs>composer create-project --prefer-dist yiisoft/yii2-app-advanced 
 
 
 
D:\xampp183\htdocs>cd yii2-app-advanced

D:\xampp183\htdocs\yii2-app-advanced>php init
Which environment do you want the application to be initialized in?

  [0] Development
  [1] Production

  Your choice [0-1, or "q" to quit] 0

  Initialize the application under 'Development' environment? [yes|no] yes
 
 

 

D:\xampp183\htdocs\yii2-app-advanced>yii migrate
Apply the above migration? (yes|no) [no]:yes



http://localhost/yii2-app-advanced/frontend/web/

http://localhost/yii2-app-advanced/backend/web/index.php?r=site%2Flogin


Tidak ada komentar:

Posting Komentar