Module: Wlog::StaticConfigurations

Included in:
CliInterface, DbRegistry, Helpers, InnitDb, TaintSetup
Defined in:
lib/wlog/domain/static_configurations.rb

Overview

Author:

  • Simon Symeonidis

Constant Summary collapse

AppName =

The application name

"wlog"
ConfigDirectory =

Absolute path to the configuration directory

"#{ENV['HOME']}/.config/"
AppDirectory =

Absolute path to the application directory

"#{ConfigDirectory}#{AppName}/"
DataDirectory =

Absolute path to the data directory

"#{AppDirectory}data/"
TemplateDir =

Where the template files exist

"#{AppDirectory}templates/"
DefaultDb =

Default database name (when unspecified)

"default"
TaintFile =

This is used to see if it is the first setup or not

"#{AppDirectory}tainted"
ConfigFile =

The configuration file

"#{AppDirectory}config"