Web Blog Pribadi indra Wijaya Kusuma

Information For Us—Kemarin adalah Pelajaran,Hari ini adalah Anugerah,Esok adalah Tantangan—

Installasi YII di Mac

Posted by ningrate pada Mei 9, 2012

yii on mac

yii on mac

Berikut Langkah-langkahnya:

1. Install Apache server untuk dilokal disini saya menggunakan MAMP

2. Download YII di http://www.yiiframework.com/download/

3. Buka folder Sites ( yg di aplikasi MAMP), dan buat folder baru, misal yii

4. Extract File YII yang didownload ke dalam folder yii yang barusan dibuat.

5. Buka terminal di mac anda, ketikkan cd /Users/namakomputeranda/Sites/yii/framework
lalu tekan enter

6. lalu ketik: ./yii webapp /Users/namakomputeranda/Sites/yii/
akan muncul pesan:

Create a Web application under ‘/Users/namakomputeranda/Sites/yii’? [yes|no]
ketik: yes

lalu akan muncul proses:

mkdir /Users/namakomputeranda/Sites/yii/assets
mkdir /Users/namakomputeranda/Sites/yii/css
generate css/bg.gif
generate css/form.css
generate css/ie.css
generate css/main.css
generate css/print.css
generate css/screen.css
mkdir /Users/namakomputeranda/Sites/yii/images
generate index-test.php
generate index.php
mkdir /Users/namakomputeranda/Sites/yii/protected
generate protected/.htaccess
mkdir /Users/namakomputeranda/Sites/yii/protected/commands
mkdir /Users/namakomputeranda/Sites/yii/protected/commands/shell
mkdir /Users/namakomputeranda/Sites/yii/protected/components
generate protected/components/Controller.php
generate protected/components/UserIdentity.php
mkdir /Users/namakomputeranda/Sites/yii/protected/config
generate protected/config/console.php
generate protected/config/main.php
generate protected/config/test.php
mkdir /Users/namakomputeranda/Sites/yii/protected/controllers
generate protected/controllers/SiteController.php
mkdir /Users/namakomputeranda/Sites/yii/protected/data
generate protected/data/schema.mysql.sql
generate protected/data/schema.sqlite.sql
generate protected/data/testdrive.db
mkdir /Users/namakomputeranda/Sites/yii/protected/extensions
mkdir /Users/namakomputeranda/Sites/yii/protected/messages
mkdir /Users/namakomputeranda/Sites/yii/protected/migrations
mkdir /Users/namakomputeranda/Sites/yii/protected/models
generate protected/models/ContactForm.php
generate protected/models/LoginForm.php
mkdir /Users/namakomputeranda/Sites/yii/protected/runtime
mkdir /Users/namakomputeranda/Sites/yii/protected/tests
generate protected/tests/bootstrap.php
mkdir /Users/namakomputeranda/Sites/yii/protected/tests/fixtures
mkdir /Users/namakomputeranda/Sites/yii/protected/tests/functional
generate protected/tests/functional/SiteTest.php
generate protected/tests/phpunit.xml
mkdir /Users/namakomputeranda/Sites/yii/protected/tests/report
mkdir /Users/namakomputeranda/Sites/yii/protected/tests/unit
generate protected/tests/WebTestCase.php
mkdir /Users/namakomputeranda/Sites/yii/protected/views
mkdir /Users/namakomputeranda/Sites/yii/protected/views/layouts
generate protected/views/layouts/column1.php
generate protected/views/layouts/column2.php
generate protected/views/layouts/main.php
mkdir /Users/namakomputeranda/Sites/yii/protected/views/site
generate protected/views/site/contact.php
generate protected/views/site/error.php
generate protected/views/site/index.php
generate protected/views/site/login.php
mkdir /Users/namakomputeranda/Sites/yii/protected/views/site/pages
generate protected/views/site/pages/about.php
generate protected/yiic
generate protected/yiic.bat
generate protected/yiic.php
mkdir /Users/namakomputeranda/Sites/yii/themes
mkdir /Users/namakomputeranda/Sites/yii/themes/classic
mkdir /Users/namakomputeranda/Sites/yii/themes/classic/views
generate themes/classic/views/.htaccess
mkdir /Users/namakomputeranda/Sites/yii/themes/classic/views/layouts
mkdir /Users/namakomputeranda/Sites/yii/themes/classic/views/site
mkdir /Users/namakomputeranda/Sites/yii/themes/classic/views/system

Your application has been created successfully under /Users/namakomputeranda/Sites/yii.

/* SELAMAT YII SUDAH BERHASIL DIINSTALL DI MAC ANDA */

Iklan

Satu Tanggapan to “Installasi YII di Mac”

  1. alif said

    hhm, boleh jg tuh nyobain yii di mac

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

 
%d blogger menyukai ini: