first open your terminal.
1.Then enter the following command on your terminal.
rails
(eg:- rails firstproject)
2.then create more folders.
3.then go to the your project folder.
cd
(eg:- cd firstprogramme)
4.then run the following command
ruby script/server
5.then open your browser insert the following address in your address bar.
http://localhost:3000
6.you will see your web server run



No comments:
Post a Comment