[YII] Create New Project


Deskripsi
       Tidak seperti framework kebanyakan begitu di download langsung bisa dipakai, YII perlu setting tersendiri agar dapat berjalan lancar, kesalahan path pada saat setting bisa juga menimbulkan error yang membuat kita pusing 7 keliling, ok selamat belajar !

Howto
      1. Download YII Source in  Here
      2. Taruh pada root webserver anda , wamp (www) or xampp (htdocs).
      3. Rename folder to yii.
      4. Open command prompt (CMD) and change your path to root webserver (www or htdocs)
          - in cmd your path must looks like this c:/wamp/www> or c:/xampp/htdocs>
      5. Now write this command when you still in root webserver
          for WAMP :
          c:/wamp/www/yii/framework/yiic webapps myproject
       
          for XAMPP
          c:/xampp/htdocs/yii/framework/yiic webapps myproject
       
          Full Example  :
          c:/wamp/www> c:/wamp/www/yii/framework/yiic webapps myproject
          c:/xampp/htdocs> c:/xampp/htdocs/yii/framework/yiic webapps myproject
 
         6. Now your project (myproject) created on your root webserver, you will see this new folder.


* Path mungkin bisa tidak sama karena sesuai dengan instalasi webserver anda.

hope this helps, if you still not understand please read the documentation :D

Post a Comment

Harap gunakan bahasa yang baik dan sopan, terima kasih