Module: Wlog::StaticConfigurations
- Included in:
- BootstrapTemplates, CliInterface, Helpers, InnitDb, InvoiceUi, TaintSetup, TemplateHelper, TemplateUi, WriteTemplate
- Defined in:
- lib/wlog/domain/static_configurations.rb
Overview
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/"- DefaultDb =
Default database name (when unspecified)
"#{ARGV[0] || 'default'}"- TemplateDir =
Where the template files exist
"#{AppDirectory}templates/"- TemplateSampleFile =
Sample file to provide the user with
"#{TemplateDir}/default.erb"- TemplateOutputDir =
In the future if someone wants to code an alternative, go ahead
"#{ENV['HOME']}/Documents/wlog/#{DefaultDb}/"- TaintFile =
This is used to see if it is the first setup or not
"#{AppDirectory}tainted"- ConfigFile =
The configuration file
"#{AppDirectory}config"