-
Install nvm.
-
Install and use the node version specified in
.nvmrc:
$ nvm install && nvm use- Install Yarn:
$ npm install -g yarn- Install dependencies:
$ yarnStart the development server:
$ yarn startRun tests:
$ yarn test
# Generate coverage report
$ yarn test -- --coverage- Install and configure the AWS CLI:
$ brew install awscli
$ aws configure- Create a static build:
$ yarn build- Sync the build directory with the S3 bucket:
$ aws s3 sync build/ s3://bucket-name --acl public-readSee this blog post for bucket setup and detailed deployment instructions.