class DockerizeStack::Command
Public Instance Methods
gatsby()
click to toggle source
# File lib/dockerize_stack.rb, line 52 def gatsby run(options, :gatsby) render_all end
rails()
click to toggle source
# File lib/dockerize_stack.rb, line 20 def rails run(options, :rails) all_file_paths.each do |file_name| if file_name =~ %r{kubernetes/} && !@kubernetes return false end template file_name, "#{@output_folder}/#{file_name.gsub('.erb', '')}" end puts 'Update your database.yml based in database-docker.yml' end
react()
click to toggle source
# File lib/dockerize_stack.rb, line 39 def react run(options, :react) render_all end
strapi()
click to toggle source
# File lib/dockerize_stack.rb, line 65 def strapi run(options, :strapi) render_all end