Sha256: c2189505640f5393d123cc34ccaa8698fb67caa22292a96b029b6e592f7197c8
Contents?: true
Size: 668 Bytes
Versions: 2
Compression:
Stored size: 668 Bytes
Contents
require './application' API::Application.initialize! # Development middlewares if API::Application.env == 'development' use AsyncRack::CommonLogger # Enable code reloading on every request use Rack::Reloader, 0 # Serve assets from /public use Rack::Static, :urls => ["/NamesApp", "/javascripts"], :root => API::Application.root(:public) end # Running thin : # # bundle exec thin --max-persistent-conns 1024 --timeout 0 -R config.ru start # # Vebose mode : # # Very useful when you want to view all the data being sent/received by thin # # bundle exec thin --max-persistent-conns 1024 --timeout 0 -V -R config.ru start # run API::Application.routes
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby_ext_direct-0.0.2 | examples/API/config.ru |
ruby_ext_direct-0.0.1 | examples/API/config.ru |