lib/renuo/cli.rb in renuo-cli-0.0.12 vs lib/renuo/cli.rb in renuo-cli-0.0.13

- old
+ new

@@ -83,22 +83,27 @@ end end command 'create-aws-project' do |c| c.syntax = 'renuo create-aws-project' - c.summary = 'Generates necessary commands for our project setup on AWS.' + c.summary = 'Generates necessary commands for our project setup on AWS incl. necessary installations.' c.description = <<-DESCRIPTION - This creates commands for creating AWS users, buckets an versioning policies. + This creates commands for creating AWS users, buckets an versioning policies and CloudFront. + It also guides you to set up the necessary environment. You will be asked for: + (- installation of aws-cli, if not yet done) + (- setting up aws user `renuo-app-setup`, if not yet done) - project name and suffix so that the script can respect our naming conventions - the Redmine project name to tag buckets for AWS billing references + - whether you want to setup CloudFront to deliver assets via S3 The generated commands do the following: - create an IAM user for each environment (master, develop, testing) and add it to the renuo apps group. - create S3 buckets for each user who owns it - tag the buckets - enable versioning for master buckets + (- set up a CloudFront distribution for each environment with the default config or plus alias if configured) DESCRIPTION c.example 'Setup a project (you will be asked for details)', 'renuo create-aws-project' c.action do |_args, _options| CreateAwsProject.new.run end