akiradeveloper / akashic-storage

Filey system backed S3-compatible storage in Scala/Akka-Http
Apache License 2.0
22 stars 2 forks source link

run admin-web with rackup #125

Closed akiradeveloper closed 8 years ago

akiradeveloper commented 8 years ago

http://bundler.io/sinatra.html

and remove run-daemon.sh

akiradeveloper commented 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