This is the frontend of the SCD registry. It can be served with serve, IPFS or Swarm. This repository contains submodules. Thus, users should clone this repository by running:
git clone --recurse-submodules -j8 https://github.com/TIHBS/scd-registry-frontend.git
Or after cloning, it users should run:
git submodule update --init --recursive
- npm
- node
- docker
- docker-compose
To build the project:
npm i
npm run build
To serve the Frontend with serve run:
npm start
To serve the Frontend with IPFS run:
IPFS_GATEWAY=<url-to-gateway> npx ts-node scripts/upload-to-ipfs.ts
To serve the Frontend with Swarm run:
SWARM_API=<url-to-swarm-api> SWARM_DEBUG=<url-to-swarm-debug> npx ts-node scripts/upload-to-swarm.ts
To test the project run:
npm test