- Run
npm install -g @composedb/cli
to install composedb cli - Run
npx composedb did:generate-private-key
to generate a PRIVATE_KEY - Run
composedb did:from-private-key PRIVATE_KEY
to generate a ADMIN_DID
- Open
./docker/ceramic/config.json
- Replace
{YOUR_ADMIN_DID}
with the generated ADMIN_DID - Replace
{YOUR_PRIVATE_KEY}
with the generated PRIVATE_KEY - Run
docker compose up
to start the psql, ipfs and the cermaic node - the psql will start at port
5432
, the ipfs will start at port5001
and the cermaic node will start at port7007
- Run
npm install
to install the packages - Start the development server with
npm run dev
once. - Open http://localhost:3000 with your browser to see the result.
- Enjoy this demo application!