Skip to content

Commit

Permalink
docs: add s3 deployment instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
angusfretwell committed Jul 4, 2017
1 parent 8e8d691 commit 3232d2a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,26 @@ $ yarn test
# Generate coverage report
$ yarn test -- --coverage
```

## Deploying to S3

1. Install and configure the AWS CLI:

```shell
$ brew install awscli
$ aws configure
```

2. Create a static build:

```shell
$ yarn build
```

3. Sync the build directory with the S3 bucket:

```shell
$ aws s3 sync build/ s3://bucket-name
```

See [this blog post](https://medium.com/@omgwtfmarc/deploying-create-react-app-to-s3-or-cloudfront-48dae4ce0af) for bucket setup and detailed deployment instructions.

0 comments on commit 3232d2a

Please sign in to comment.