Teiki index implementation in Generation I
docker buildx build \
--build-arg "COMMIT_SHA=$(git rev-parse HEAD)" \
-t teiki/index:latest .
teiki-index depends on a few other services:
- cardano-node (https://github.com/input-output-hk/cardano-node)
- ogmios (https://github.com/CardanoSolutions/ogmios)
- ipfs (https://github.com/ipfs/kubo)
- A PostgreSQL database
A minimal, working setup to get those services up and running is defined in docker-compose.yml
.
# Start (teiki-index and required services)
COMMIT_SHA=$(git rev-parse HEAD) docker-compose up -d --build --remove-orphans
# Check teiki-index logs
docker-compose logs -t -f index
# Stop
docker-compose down
You need to configure your own .env
file. An example of the running protocol on testnet (https://testnet.teiki.network) can be found in .env.testnet
.
npm ci
npm run start all
Please feel free to connect: Website, Medium, Discord, Twitter, Telegram. We are very open to discussions, questions, and feedback 🌱.