GithubHelp home page GithubHelp logo

ivanpayan / skycoin.net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gogo-tattoo/skycoin.net

0.0 1.0 0.0 72.06 MB

The Skycoin website

Home Page: http://skycoin.net/

Shell 0.15% HTML 0.17% CSS 23.52% JavaScript 76.16%

skycoin.net's Introduction

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.

skycoin.net's People

Contributors

ivanpayan avatar colinswilliams avatar kzviagina avatar alexsugak avatar angusfretwell avatar pautena avatar gz-c avatar meam364 avatar nutmix avatar akandaurov avatar mikelars2 avatar alexey-belous avatar matjazkotnik avatar lusciouspear avatar coinyawong avatar hanyh2004 avatar artxty avatar gogo-tattoo avatar iketheadore avatar snyk-bot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.