-
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 -- --coverageThis requires write access to the skycoin/skycoin.net repo, doing a PR from a fork doesn't carry over the tag.
Commits on the master branch will be automatically released to https://staging.skycoin.net.
To release to production:
-
Bump the version number in
package.json:"name": "skycoin.net", - "version": "0.1.2", + "version": "0.1.3", "private": true,
-
Commit, create a tag, and push:
$ git commit -am "chore: bump version number" $ git tag v0.1.3 $ git push origin master --tags
