Slides are here: https://docs.google.com/presentation/d/13gjojRbZmPg5RexTzXUBMP8mfc26mOmijx1H54mOOxM
- clone this repo
- run
yarn
to install dependencies (read how to installyarn
) - run
yarn run test:contract
to run tests for smart contract code - run
yarn develop
to launch the working project
- build
gatsby build
- build:contract
mkdir -p static/ && near/scripts/compile-contract.js
- clean
gatsby clean
- deploy:contract
near dev-deploy
- dev:contract
npx nodemon --config ./near/config/nodemon.contract.json --exec 'yarn run build:contract'
- develop
gatsby develop
- format
prettier --write "**/*.{js,jsx,json,md}"
- serve
gatsby serve
- start
npm run develop; npm run dev:contract
- test
echo "Write tests! -> https://gatsby.dev/unit-testing" && exit 1
- test:contract
asp --config near/config/as-pect.js --verbose