Module: Lucian::Initiator

Defined in:
lib/lucian/initiator.rb

Overview

Initiator module for initializing process

Class Method Summary collapse

Class Method Details

.init(path = File.expand_path('.')) ⇒ Object



8
9
10
11
12
13
14
15
16
# File 'lib/lucian/initiator.rb', line 8

def self.init(path = File.expand_path('.'))
  BoardCaster.print('Start initialize Lucian environment', "green")
  lucian_path = File.expand_path(path+'/lucian')
  create_directory(lucian_path)
  create_helper_file(lucian_path)
  create_gemfile(path)
  create_dockerfile(lucian_path)
  BoardCaster.print('Lucian init DONE', "green")
end