Skip to content

Latest commit

 

History

History

sinatra

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ovto + Sinatra example

How to run

$ cd examples/sinatra
$ bundle install
$ bundle exec rackup
$ open http://localhost:9292/

Files

  • ovto/ Contains Ovto app (= client side code)
    • app.rb
  • sinatra/ Contains Sinatra app (= server side code)
    • app.rb
  • config.ru

This file arrangement is just an example. You can put app.rb anywhere you want by modifying config.ru.