Halaman

Kamis, 17 Januari 2013

[YII] Quick Start, YII Tutorial in 2 minutes!

Yii as simple as 1..2..3 For this tutorial, i assume that you are working in windows environtment and already setup your local webserver (xampp, wamp, etc..)
  1. Download Yii anywhere you wanted, extract them to any folder you wanted.., for this example let's say after you download the zip file, you extract it to c:\yii
  2. Open up command prompt / terminal
  3. Change your dir to the directory where you put your php.exe, in my case it is in C:\xampp\php
  4. On that dir, execute the command:
    php "C:\yii\framework\yiic" webapp MyAppName
  5. Now move the folder MyAppName to your htdocs folder,
    in my case i move entire folder to C:\xampp\htdocs
  6. That is it.. now you have a fully working MVC Yii application
    Open your browser and then go to the address http://localhost/MyAppName

Tidak ada komentar:

Posting Komentar