newbie to ruby on rails

seperti biasa aplikasi pertama ini disebut hello world :D

mari kita mulai belajar RoR…

rails new hello

create
create  README
create  Rakefile
create  config.ru
….
….

cd hello

rails server

=> Booting WEBrick
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server

sekarang buka web browser dan coba browse ke http://localhost:3000

“welcome aboard” itu yang akan muncul dan artinya kita telah berhasil membuat project baru :D


About this entry