-
Notifications
You must be signed in to change notification settings - Fork 11
Running the Application
dolzenko edited this page Jan 14, 2013
·
8 revisions
Batsd-dash is built using Sinatra, which is Rack compliant. Thus, any Rack compliant Ruby web server can be used to serve the application.
You may want to use Bundler for installing your server dependencies. Remember to use bundler exec
in this case. Here is a sample Gemfile that uses Puma:
source :rubygems
gem 'batsd-dash'
gem 'puma'
See the Installation and Configuration page for more info on Bundler and Batsd-dash.
We recommend using Puma with Batsd-dash. We also recommend setting the connection pool size and max number of threads Puma will use to the same amount. For example, suppose you want to use a connection pool of size 10, Puma should be started with:
puma -t 0:10 config.ru
Using something not listed here? Feel free to edit this page and add some notes on what server you are using with Batsd-dash.