Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 716 Bytes

README.md

File metadata and controls

60 lines (41 loc) · 716 Bytes

Flask environment

Overview

Description

Demo

Requirement

  • Ruby
  • Chef

Usage

EC2 instance

You must select ubuntu AMI.

$ berks vendor cookbooks
$ knife solo prepare ubuntu@<YOUR_EC2_INSTANCE_HOST> -i <YOUR_AWS_KEY_PATH>
$ vim nodes/<YOUR_EC2_INSTANCE_HOST>.json

<YOUR_EC2_INSTANCE_HOST>.json

{
  "environment": "ec2_ubuntu",
  "run_list": [
    "role[web]"
  ],
  "automatic": {
    "ipaddress": "<YOUR_EC2_INSTANCE_HOST>"
  }
}
$ knife solo cook ubuntu@<YOUR_EC2_INSTANCE_HOST> -i <YOUR_AWS_KEY_PATH>

Vagrant

$ berks vendor cookbooks
$ vagrant up --provision

Config

Contribution

Licence

Author