module App

Defined in:

constants.cr
telemetry.cr

Constant Summary

APP_NAME = "dispatch"
AUTH_SECRET = (ENV["PLACE_SERVER_SECRET"]? || ENV["SERVER_SECRET"]?) || "testing"
BUILD_COMMIT = {{ (env("PLACE_COMMIT")) || "DEV" }}
BUILD_TIME = {{ (system("date -u")).stringify }}
DEFAULT_HOST = ENV["SG_SERVER_HOST"]? || "127.0.0.1"
DEFAULT_PORT = (ENV["SG_SERVER_PORT"]? || 3000).to_i
DEFAULT_PROCESS_COUNT = (ENV["SG_PROCESS_COUNT"]? || 1).to_i
ENVIRONMENT = ENV["SG_ENV"]? || "development"
Log = ::Log.for(APP_NAME)
LOG_BACKEND = ActionController.default_backend
VERSION = "1.5.1"

Class Method Summary

Class Method Detail

def self.running_in_production? #

[View source]