Sha256: 874f502f1bf1b26c1aa27f00cfe7e88ff511db56685c386e33e3b41ccbcf559f
Contents?: true
Size: 927 Bytes
Versions: 1
Compression:
Stored size: 927 Bytes
Contents
module Roro class CLI < Thor no_commands do def copy_dockerignore copy_file 'base/.dockerignore', '.dockerignore' end def copy_host_example copy_file 'base/livereload/hosts.example', 'hosts.example' end def copy_docker_compose template "base/docker-compose.yml", 'docker-compose.yml', @env_hash end def copy_roro directory 'base/roro/containers/app', "roro/containers/#{@env_hash[:app_name]}", @env_hash directory 'base/roro/containers/database', "roro/containers/#{@env_hash[:database_container]}", @env_hash directory 'base/roro/containers/frontend', "roro/containers/#{@env_hash[:frontend_container]}", @env_hash end def copy_database_yml_pg copy_file "base/config/database.yml.pg", 'config/database.yml', force: @env_hash[:use_force] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roro-0.3.5 | lib/roro/cli/base/base_files.rb |