git clone git@github.com:kontext-app/social-bookmarking-app.git
cd social-bookmarking-app
yarn
Copy the distributed .env
into a local env file with the name .env.local
and set the variables accordingly.
You can run your own local ceramic node and 3id-connect iframe service. Therefore run following steps:
> yarn global add @ceramicnetwork/cli
> ceramic daemon
> git clone https://github.com/ceramicstudio/3id-connect.git
> cd 3id-connect
> npm install
> CERAMIC_API=http://localhost:7007 npm run start
.env.local
REACT_APP_CERAMIC_API_HOST=http://localhost:7007
REACT_APP_THREE_ID_CONNECT_HOST=http://localhost:30001
You can also use servers provided by us. Therefore set the relevant env variables as follows:
REACT_APP_CERAMIC_API_HOST=https://ceramic.kontext.app
REACT_APP_THREE_ID_CONNECT_HOST=https://3id.kontext.app
yarn start
yarn build