Wednesday, April 7, 2010

Sinatra Question 5 (Q4&Q5)

Question 4. Run Hello World

Figure 1(Sinatra, n.d.). Run the application

Running the app.rb

Figure 2(Sinatra, n.d.). Run the application on the browser

Browsing "Hello world" by localhost:4567



Question 5. Deployment on Heroku


Figure3.(Heroku, n.d.). Creating Heroku application

Adding public key and creating Heroku application


Figure4.(Heroku, n.d.). Heroku application

My app.rb


Figure5.(Heroku, n.d.). Config

Config.rb



Figure6.(Sinatra, n.d.). Deployment of an application

Deploy application on Heroku


References

Heroku.(n.d.).Deploying with Git. Retrived March 27, 2010 from http://docs.heoku.com/git

Sinatra.(n.d.). What is Sinatra. Retrived March 27, 2010 from http://sinatra-book.gitter.com/

No comments:

Post a Comment