Skip to content

Local build

Grigory Efimov edited this page May 16, 2024 · 1 revision

If you need to create local build binaries for any-sync-*, you can do so by using the "overrides" functionality in docker-compose.

  • clone repos
    install -d repos && for REPO in any-sync-{node,filenode,coordinator,consensusnode}; do if [[ ! -d repos/$REPO ]]; then git clone git@github.com:anyproto/${REPO}.git repos/$REPO; fi; done
    
  • to create a symlink for the "override file," you can either create it yourself as docker-compose.override.yml or use an existing one
    ln -F -s docker-compose.any-sync-node-1.yml docker-compose.override.yml
    
  • restart docker compose
    make restart
    
Clone this wiki locally