Requires Node.js and Yarn package manager.
Install dependencies
yarn
Start a dev server and open the browser
yarn start -o
Build the website and serve it locally
yarn build && yarn serve -o
Requires NixOS or Nix package manager with flakes enabled.
Enter the development environment installing node
, yarn
, and ipfs
nix develop
Create a reproducible build
nix build
Requires ipfs-cli.
Initialize a new IPFS configuration (if not already exists)
ipfs init
Start IPFS daemon in the background
ipfs daemon &
When using yarn build
ipfs add -rQ public
When using nix build
ipfs add -rQ $(readlink result)
Create an API key with following permissions
- Pinning Services API
- Pins
- addPinObject
- getPinObject
- Pins
Configure a remote pinning service
ipfs pin remote service add pinata https://api.pinata.cloud/psa <PINATA_JWT>
Pin the website
ipfs pin remote add --service=pinata <IPFS_HASH>