Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 1.03 KB

README.md

File metadata and controls

65 lines (42 loc) · 1.03 KB

skycoin.net

Build Status

Setup

  1. Install nvm.

  2. Install and use the node version specified in .nvmrc:

$ nvm install && nvm use
  1. Install Yarn:
$ npm install -g yarn
  1. Install dependencies:
$ yarn

Development

Start the development server:

$ yarn start

Run tests:

$ yarn test

# Generate coverage report
$ yarn test -- --coverage

Deploying to S3

  1. Install and configure the AWS CLI:
$ brew install awscli
$ aws configure
  1. Create a static build:
$ yarn build
  1. Sync the build directory with the S3 bucket:
$ aws s3 sync build/ s3://bucket-name --acl public-read

See this blog post for bucket setup and detailed deployment instructions.