# frozen_string_literal: true

require 'fileutils'

module Indicina
  CONNECTION_STRING = 'mysql2://root@127.0.0.1/indicina'
  # CONNECTION_STRING = 'mysql2://root:DORHfjJaST7FFZGOsFz2A@indicinardsaurora-indicinardscluster-nrshnlggk9li.cluster-c7b8psi8rran.us-east-1.rds.amazonaws.com/indicina'

  CDN_ROOT = 'https://tegimen.cpe.wtf'

  root_path = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))

  TEMPLATE_PATH = File.join(root_path, 'app', 'indicina', 'templates')
  OUTPUT_PATH = File.join(root_path, 'output')

  FileUtils.mkdir_p(OUTPUT_PATH)
end