Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 916 Bytes

README.md

File metadata and controls

63 lines (41 loc) · 916 Bytes

skycoin.net

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

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