class Rockstart::Development::LocalhostSetupGenerator

Public Instance Methods

add_certificate_configuration() click to toggle source
# File lib/generators/rockstart/development/localhost_setup/localhost_setup_generator.rb, line 12
def add_certificate_configuration
  template "localhost_domains.ext.tt", "#{app_name}_localhost.ext"
end
add_setup_localhost_script() click to toggle source
# File lib/generators/rockstart/development/localhost_setup/localhost_setup_generator.rb, line 16
def add_setup_localhost_script
  script_template "setup-localhost"
end
create_localhost_certificates() click to toggle source
# File lib/generators/rockstart/development/localhost_setup/localhost_setup_generator.rb, line 20
    def create_localhost_certificates
      append_file ".gitignore" do
        <<~GITIGNORE

          # localhost certificate authority
          localhostCA.*

          # Generated SSL Certificates
          certs/

        GITIGNORE
      end
    end