module App
Defined in:
constants.cr
Constant Summary
-
COOKIE_SESSION_KEY =
ENV["COOKIE_SESSION_KEY"]? || "_spider_gazelle_"
-
COOKIE_SESSION_SECRET =
ENV["COOKIE_SESSION_SECRET"]? || "4f74c0b358d5bab4000dd3c75465dc2c"
-
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(NAME)
-
LOG_BACKEND =
ActionController.default_backend
-
NAME =
"Spider-Gazelle"
-
POSTGRES_URL =
ENV["POSTGRES_URL"]? || "postgres://julie@localhost:5432/tododatabase"
-
STATIC_FILE_PATH =
ENV["PUBLIC_WWW_PATH"]? || "./www"
-
VERSION =
{{ (`shards version \"/srv/crystaldoc.info/github-juliejgiles-spidergazelle-todo-api-main/src\"`).chomp.stringify.downcase }}
Class Method Summary
Class Method Detail
def self.
running_in_production?
#