home / kskb-text

document_text

1 row where source_id = "weboftrust-cardano-backer-main"

✎ View and edit SQL

This data as json, CSV (advanced)

source_id 1

  • weboftrust-cardano-backer-main · 1 ✖

license 1

  • Apache-2.0 1

kind 1

  • repository prose file 1
id ▼ source_id kind license title url credit chars text
weboftrust-cardano-backer-main/1 weboftrust-cardano-backer-main repository prose file Apache-2.0 DOCKER.md https://github.com/WebOfTrust/cardano-backer/blob/main/DOCKER.md WebOfTrust / cardano-backer-main, https://github.com/WebOfTrust/cardano-backer/blob/main/DOCKER.md. Licensed under the Apache License 2.0; the license and any notices are in the repository. Found through KERISSE. 1655

Build base images

Run this snippet from the root of this git repository:

TARGETS="kli keri cardano-backer cardano-agent" for target in ${TARGETS} do docker build \ --target ${target} \ -t keripy/${target} . done

Run

  • Run kli: docker run -it keripy/kli --help

Run cardano-backer

  • Generate a funding address and fund it using the testnet: docker run -it --rm \ --entrypoint=python \ keripy/cardano-backer \ /src/scripts/generate_funding_cborhex_cardano.py
  • Setup an .env file (you can use .env.example file as template) in the root of the git repository and set the FUNDING_ADDRESS_CBORHEX using the value from the previous command
  • Bring up cardano-backer and cardano-agent: docker-compose --env-file .env up

At this point services should be accesible at these endpoints:

  • cardano-backer: http://localhost:5666
  • cardano-agent: http://localhost:5972

If you want to run the demo scripts, you can run them by executing this snippet (and replacing the values by the ones shown by the backer): * backer_demo-kli.sh: docker-compose exec cardano-backer bash \ /src/scripts/backer_demo-kli.sh $BACKER_PREFIX $BACKER_ADDRESS * backer_demo-agent.sh: docker-compose exec cardano-agent bash -c '\ BACKER_URL=http://cardano-backer:5666; \ /src/scripts/backer_demo-agent.sh $BACKER_PREFIX $BACKER_ADDRESS'

Production deployment

Edit docker-compose-traefik.yaml to deploy on a machine using a domain. BACKER_EXTERNAL_HOST can remain as localhost (default) as traefik can handle the routing externally.

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE document_text (id TEXT PRIMARY KEY, source_id TEXT, kind TEXT, license TEXT, title TEXT, url TEXT,
        credit TEXT, chars INTEGER, text TEXT);
Powered by Datasette · Queries took 1100.089ms