@cartesi/creepts

0.1.0-alpha.1 • Public • Published

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]

Readme

Keywords

Package Sidebar

Install

npm i @cartesi/creepts

Weekly Downloads

3

Version

0.1.0-alpha.1

License

Apache-2.0

Unpacked Size

34.6 MB

Total Files

72

Last publish

Collaborators

  • gligneul
  • vfusco
  • carlofragni
  • stephc
  • felipeargento
  • tuler
  • miltonjonat