To start local development, you need a local running Ceramic node. Luckily, the steps to set one up is very simple.
-
Set up a local Ceramic Node 1
- Follow this detailed guide from ComposeDB that shows you how to install and configure relevant packages for running a local Ceramic node.
- To check that you have everything installed correctly, run
npx @ceramicnetwork/cli daemon
in your Terminal and if you see the following messageIMPORTANT: Ceramic API running on 0.0.0.0:7007'
, you have successfully set up your local Ceramic node 🚀.
-
Set up env values for building all the AKASHA Core packages
- Create a new file
.env
at the root of the project with the contents of env.example. - Follow the comments from the example env file on how to fill in the values.
- From the root of this project run
npm run build:all
to start building all packages.
- Create a new file
-
To test the playground ethereum-world example application
- Run
npm run start:feed-app
- Visit
https://localhost:8131/
to check out the app.
- Run
-
Tips:
- Run
npm run pack:ui
if you're only making changes to the UI packages to save time rebuilding. - Run
npm run install:clean
if you need to delete all traces of the current build and rebuild from scratch.
- Run
[1]: In the future, we will provide a public node for Ceramic connection and this step will no longer be needed.