Skip to content

Latest commit

 

History

History
75 lines (47 loc) · 1.16 KB

README-snap.md

File metadata and controls

75 lines (47 loc) · 1.16 KB

How to use jc with snap

How to build snap package

  • Install snapd. One or two.

  • Install snapcraft:

$ sudo snap install snapcraft --classic
  • Update snapd:
$ sudo snap refresh snapcraft --edge
  • Clone the repo:
$ git clone https://github.com/kellyjonbrazil/jc
  • Change the directory:
$ cd ./jc
  • Select branch:
$ git checkout snap-support
  • Initialize LXD:
$ lxd init --auto
  • Build .snap file:
$ snapcraft

How to install local snap file

$ snap install --dangerous ./jc_*_amd64.snap

How to use jc with plugins

  • Put your plugin in the "$HOME/.local/share/jc" directory.

  • To connect the directory, run:

snap connect jc:dot-jc-plugins snapd

Urls