Files
zeekay 241625e7d9 rename: ziti → zt across all paths
- Repo names: ziti-* → zt-*
- Go modules: github.com/hanzozt/ziti → github.com/hanzozt/zt
- Docker images: hanzozt/ziti-* → hanzozt/zt-*
- C/Java/JS symbols: ziti_* → zt_*
- File and directory names updated
2026-02-18 18:34:19 -08:00
..
2026-02-18 18:34:19 -08:00
2026-02-18 18:34:19 -08:00
2026-02-18 18:34:19 -08:00

quick notes on building a snap from scratch...

  • checkout branch

  • install snapd if needed - https://docs.snapcraft.io/installing-snapd/6735

  • install snapcraft --classic to build snaps

    snap install snapcraft --classic hash -r

  • navigate to the root of the git checkout - not the $GOPATH

  • cd ~/git_or_wherever/nf/src/bitbucket.org/netfoundry/zt

  • issue snapcraft you should see results (in green maybe) like (you may need the --destructive-mode flag):

    Cleaning later steps and re-staging zt ('build' step changed) Priming zt Snapping 'netfoundry' - Snapped netfoundry_0.0.1_amd64.snap

  • install the snap in spoooky 'dangerous' and 'devmode':

    sudo snap install --devmode --dangerous netfoundry*.snap

  • ensure the snap is listed:

    snap list | grep netfoundry

    should return something like: netfoundry 0.0.1 x1 - - devmode

  • try the enroller out:

    netfoundry.zt-enroller

  • try the tunneler out:

    netfoundry.zt-tunneler