Skip to content

gogo-tattoo/skycoin.net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.