Closed akiradeveloper closed 8 years ago
Writing admin-web/config.ru
$ cat config.ru
require "rubygems"
require "bundler"
Bundler.require
require "./app"
run Sinatra::Application
We can now boot up the webapp by rackup
but the port is fixed to 9292 and it's not background. simple ruby app.rb will suffice
http://bundler.io/sinatra.html
and remove run-daemon.sh