0.1.0-alpha.1 • Published 4 years ago

@cartesi/creepts v0.1.0-alpha.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
4 years ago

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]