Skip to content

ttaka66/flask-env

Repository files navigation

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

Releases

No releases published

Packages

No packages published