Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 794 Bytes

Build_from_source.md

File metadata and controls

24 lines (23 loc) · 794 Bytes

Build from source

Setup Steps

  1. On another directory on this machine clone the lgn-coprocessor repo
cd $HOME
git clone https://github.com/Lagrange-Labs/lgn-coprocessor.git
cd lgn-coprocessor
  1. Checkout to the right version
#For  testnet
git checkout v1.1.2
#For  mainnet
git checkout v1.0.2
  1. Build the docker
docker build -t lgn-coprocessor:local -f docker/worker/Dockerfile .
  1. Once the build is done, cd back to the worker directory from this repo. and
  • Edit the docker-compose.yaml file. Change the image: line with image: lgn-coprocessor:local
  • Replace pull_policy: always to pull_policy: never
  1. Go back to the main step by step and continue from where you left, to generate the Lagrange key