Module: WSOC::Config

Defined in:
lib/wsoc/config.rb

Constant Summary collapse

DEFAULT_HOST =

Default host to run the WSOC server on

'localhost'
DEFAULT_PORT =

Default port to run the WSOC server on

8080
SPECS_PATHS =

Paths to the specs files

{
  :json => '/specs.json',
  :yaml => '/specs.yaml'
}
COURSE_DIR =

Course directory

'/course'
COURSE_START_PATH =

Path to the start of the course

"#{COURSE_DIR}/start.html"
COURSE_FAIL_PATH =

Path to the course failure page

"#{COURSE_DIR}/fail"
COURSE_AUTH_USER =

HTTP Basic Auth credential data

'admin'
COURSE_AUTH_PASSWORD =
'password'