Open sikosis opened 11 years ago
Here's the web server's output ...
[29/Nov/2012 16:31:09] "GET /_cycle?duration=10 HTTP/1.1" 200 - 0.0011 Errno::ENOENT - No such file or directory - /Users/dashing/Dashboard/dashboards/favicon.ico.erb
followed by a crap load of errors.
For a dashing project, don't worry about the classic or modular application setup or example files.
What does your config.ru look like?
require "sinatra/cyclist" require 'dashing'
configure do set :auth_token, '1234' set :default_dashboard, 'itig'
helpers do def protected!
# This method is run before accessing any resource.
end
end end
map Sinatra::Application.assets_prefix do run Sinatra::Application.sprockets end
set [:itig,:checkout,:ppt,:signage]
run Sinatra::Application
Do you need classic_application.rb and modular_application.rb when you are using dashing ?
The doco seems to suggest that you don't. However, I've run dashing and nothing happens as far as cycling.
Am I then suppose to open the browser at localhost:3030/_cycle to fire it off ?