Skip to content
The Skycoin website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis Revert "fix build" Aug 23, 2018
public fixed blog Apr 4, 2019
src
.editorconfig Feature/split download page (#50) Aug 22, 2017
.env
.eslintrc fix correct loading xml + update eslint Apr 16, 2018
.gitignore
.nvmrc chore: add nvmrc Jun 22, 2017
.snyk fix: package.json & .snyk to reduce vulnerabilities Jun 20, 2018
.travis.yml set caching settings for static content Apr 10, 2018
README.md Fix home page rendering before new page on prod and staging May 31, 2018
package-lock.json chore: bump version to [version 0.7.152] Mar 12, 2019
package.json
robots.txt
robots.txt.staging
routing-rules.xml Infographics page (#9) Jul 6, 2017
sharing.svg add CXO page May 2, 2018
yarn.lock fixed styled components problem Feb 15, 2019

README.md

skycoin.net logo

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

Releasing to production

This 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:

  1. Bump the version number in package.json:

       "name": "skycoin.net",
    -  "version": "0.1.2",
    +  "version": "0.1.3",
       "private": true,
  2. Commit, create a tag, and push:

    $ git commit -am "chore: bump version number"
    $ git tag v0.1.3
    $ git push origin master --tags

Important! When adding a new page (without a link to it), you need to add hidden link to /src/components/Footer/components/PageLinks

This is necessary in order for react-snapshot to generate correct static *.html file and avoid home page rendering before any new page renders. Also modify production deploy script to remove cache for new static html files in .travis/production.deploy.sh.

You can’t perform that action at this time.