From 357509a3f4ea32d87a6ab52af944cef00dae36ca Mon Sep 17 00:00:00 2001 From: Marc Garreau Date: Sun, 20 Nov 2016 17:15:33 -0500 Subject: [PATCH 1/2] Adds to docs - deployment with S3/CloudFront --- packages/react-scripts/template/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 14d0e30a585..433a043e505 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -50,6 +50,7 @@ You can find the most recent version of this guide [here](https://github.com/fac - [Modulus](#modulus) - [Netlify](#netlify) - [Now](#now) + - [S3 and CloudFront](#s3-and-cloudfront) - [Surge](#surge) - [Something Missing?](#something-missing) @@ -1038,6 +1039,10 @@ When you build the project, Create React App will place the `public` folder cont See [this example](https://github.com/xkawi/create-react-app-now) for a zero-configuration single-command deployment with [now](https://zeit.co/now). +### S3 and CloudFront + +See this [blog post](https://medium.com/@omgwtfmarc/deploying-create-react-app-to-s3-or-cloudfront-48dae4ce0af) on how to deploy your react app to AWS S3 and CloudFront. + ### Surge Install the Surge CLI if you haven't already by running `npm install -g surge`. Run the `surge` command and log in you or create a new account. You just need to specify the *build* folder and your custom domain, and you are done. From 1c10b676e28034706ee0966fdfcc0d37f04ebeb6 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sun, 20 Nov 2016 22:56:47 +0000 Subject: [PATCH 2/2] Tweaks --- packages/react-scripts/template/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 433a043e505..547fae13e8b 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -1041,7 +1041,7 @@ See [this example](https://github.com/xkawi/create-react-app-now) for a zero-con ### S3 and CloudFront -See this [blog post](https://medium.com/@omgwtfmarc/deploying-create-react-app-to-s3-or-cloudfront-48dae4ce0af) on how to deploy your react app to AWS S3 and CloudFront. +See this [blog post](https://medium.com/@omgwtfmarc/deploying-create-react-app-to-s3-or-cloudfront-48dae4ce0af) on how to deploy your React app to Amazon Web Services [S3](https://aws.amazon.com/s3) and [CloudFront](https://aws.amazon.com/cloudfront/). ### Surge