Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

<% .Name %> Frontend

Getting Started

You now have a repo to create your frontend application. This project was bootstrapped with Create React App.

See full documentation here


Deployment

Your application is deployed to an AWS S3 bucket through CircleCi.

Circle CI

Your repository comes with a end-to-end CI/CD pipeline, which includes the following steps:

  1. Checkout
  2. Unit Tests
  3. Build for Staging
  4. Deploy Staging
  5. Build for Production
  6. Deploy Production

The Deploy step does a:

  • AWS S3 Bucket Sync
  • Cloudfront Invalidation

To learn more your pipeline checkout your CircleCi config file


Environment Configs

These are set by REACT_APP_CONFIG enviroment variable at build time. This corresponds to a json file in the config directory.

For example to build the staging site and host it you would use:

REACT_APP_CONFIG=staging yarn build

serve -s build