Method: Microstatic::CLI#setup

Defined in:
lib/microstatic/cli.rb

#setup(app_name = false) ⇒ Object



11
12
13
14
15
16
17
18
19
# File 'lib/microstatic/cli.rb', line 11

def setup( app_name = false )
  app_name ||= inferred_app_name
  bucket_name = subdomain_for(app_name)

  bucket = bucket( bucket_name )
  # TODO: pass bucket through to dns setup so we don't have to look it up again
  dns( app_name )
  rakefile( bucket_name )
end