Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Latest commit

 

History

History
43 lines (28 loc) · 831 Bytes

DEV_SITE.md

File metadata and controls

43 lines (28 loc) · 831 Bytes

DEVELOPMENT

Web Site

The web site http://mynumbercard.code4japan.org is built by gatsby.js. We use gatsby-starter-typescript-plus for the bsse template. The project source is located under the site directory.

REQUIREMENT FOR WEBSITE DEVELOPMENT

  • node version 12.18.2 (version 13 or later failed installing sharp in OSX 10.15.5.)

SETUP

install node 12.18.2

brew install nodenv # if you don't have any node version controller
nodenv install 12.18.2

install dependencies

cd site
yarn install

Run local dev site

gatsby develop

build static files

yarn build

Preview site

Commit to the development will update https://mynumbercard.netlify.app/