Skip to content

Instantly share code, notes, and snippets.

@jwasinger
Last active December 12, 2018 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwasinger/760c988d0aeee39886296ec3a2b39531 to your computer and use it in GitHub Desktop.
Save jwasinger/760c988d0aeee39886296ec3a2b39531 to your computer and use it in GitHub Desktop.
parity deploy clique setup

Prereqs

  • have geth binary in your path
  • have parity binary in your path
  • have npm, nodejs installed

Setup

git clone https://github.com/jwasinger/parity-deploy -b clique
git clone https://{parity-branch} parity-ethereum
cd parity-deploy
./build.sh
./parity-deploy.sh -c clique -n {{number of parity nodes}} -gn {{number of geth nodes}}
  • Edit the docker-compose.yaml and remove these lines:
volumes:
  myapp:
    #driver: local
    driver_opts:
      o: uid=1000,gid=1000
  • startup: docker-compose up

Destroy config

./clean.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment