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..)
- 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
- Open up command prompt / terminal
- Change your dir to the directory where you put your php.exe, in my case it is in C:\xampp\php
- On that dir, execute the command:
php "C:\yii\framework\yiic" webapp MyAppName - Now move the folder MyAppName to your htdocs folder,
in my case i move entire folder to C:\xampp\htdocs - 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