-
Install nvm.
-
Install and use the node version specified in
.nvmrc
:
$ nvm install && nvm use
- Install Yarn:
$ npm install -g yarn
- Install dependencies:
$ yarn
Start the development server:
$ yarn start
Run 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
See this blog post for bucket setup and detailed deployment instructions.