Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,29 @@ This code is licensed under the The MIT License (MIT). Please see the LICENSE fi

## Installation

**Install aws CLI**

- Check if the python is already installed by using `$ python --version`
- Download CLI by `$ curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"`
- UnZip CLI by `$ unzip awscli-bundle.zip`
- Install CLI by `$ sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws`
- check if the CLI is installed correctly by `$ aws --version`

**Configure CLI**

- Configure CLI with `$ aws configure`
- Put the AWS Access Key ID when asked
- Put the AWS Secret Access Key when asked
- Put Default region name when asked
- Put Default output format, press enter to keep the default which is JSON

**Install jq**

- Install jq on mac by `$ brew install jq`

More details of installing aws CLI can be found [here](https://aws.amazon.com/cli/?sc_channel=PS&sc_campaign=acquisition_IN&sc_publisher=google&sc_medium=command_line_b&sc_content=aws_cli_e&sc_detail=aws%20cli&sc_category=command_line&sc_segment=159807028003&sc_matchtype=e&sc_country=IN&s_kwcid=AL!4422!3!159807028003!e!!g!!aws%20cli&ef_id=WI1fPgAAAHp-Mub7:20170210115847:s), more details on installing jq can be found [here](https://stedolan.github.io/jq/download/).


A sample installation script using Bash (`init.sh`) is provided to install and configure all necessary resources in your AWS account:

- the [Amazon S3](http://aws.amazon.com/s3/) bucket to host the sample HTML pages
Expand Down