@cartesi/creepts

Creepts by Cartesi

Usage no npm install needed!

<script type="module">
  import cartesiCreepts from 'https://cdn.skypack.dev/@cartesi/creepts';
</script>

README

Creepts

Getting Started

Requirements

  • docker
  • docker-compose
  • jinja2

Cloning

Make sure to include the submodules:

git clone --recurse-submodules ssh://github.com/cartesi-corp/anuto-dapp.git

or using the http address:

git clone --recurse-submodules https://github.com/cartesi-corp/anuto-dapp.git

Running

To run execute:

jinja2 -D num_players=2 docker-compose-template.yml | NPM_TOKEN=<npm_token> GITHUB_TOKEN=<github_token> docker-compose -f - up --build

To run with geth instead of ganache:

jinja2 -D num_players=2 docker-compose-template-geth.yml | NPM_TOKEN=<npm_token> GITHUB_TOKEN=<github_token> docker-compose -f - up --build

This environment is still using private assets, like:

  • private docker images from Docker Hub
  • private NPM package from https://npmjs.com
  • private assets from GitHub releases at cartesi-corp

So you need to:

Once we create a public release of the application we won't need this anymore.

To shutdown:

jinja2 -D num_players=2 docker-compose-template.yml | NPM_TOKEN=<npm_token> GITHUB_TOKEN=<github_token> docker-compose -f - down -v

You can follow the output of a docker instance with:

docker logs -f [name of the instance]