Sha256: 655e05bc5431bf2f9b80e6e4bba168420e4788de589c33d6a42dc3dffcfe7f88

Contents?: true

Size: 316 Bytes

Versions: 10

Compression:

Stored size: 316 Bytes

Contents

require 'sinatra/base'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),'lib'))
require 'qcourses/web_app'
Qcourses.configure do |config|
  config.root = File.expand_path('.', File.dirname(__FILE__))
end
  Qcourses::CourseRepository.on_file_system

class DemoApp < Sinatra::Application
  use Qcourses::WebApp
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
qcourses-0.1.11 demo_app.rb
qcourses-0.1.10 demo_app.rb
qcourses-0.1.9 demo_app.rb
qcourses-0.1.8 demo_app.rb
qcourses-0.1.7 demo_app.rb
qcourses-0.1.6 demo_app.rb
qcourses-0.1.5 demo_app.rb
qcourses-0.1.4 demo_app.rb
qcourses-0.1.3 demo_app.rb
qcourses-0.1.2 demo_app.rb