X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=snap%2Flocal%2FREADME.md;fp=snap%2Flocal%2FREADME.md;h=4d9c18185b34d7e434b41cdb0f9f5b3c94cc50ac;hb=da8f617ab34d8933dedbc64e1bc5c65acaa53f55;hp=0000000000000000000000000000000000000000;hpb=5973d23b226307fc1a6879d428915111871066e3;p=osm%2Fosmclient.git diff --git a/snap/local/README.md b/snap/local/README.md new file mode 100644 index 0000000..4d9c181 --- /dev/null +++ b/snap/local/README.md @@ -0,0 +1,42 @@ +## +# Copyright 2020 ETSI +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +## + +# Snap for OSM client + +The snapcraft.yaml located in this folder, allows to build a snap of the OSM client + + +## Build + +```bash +# Build the snap +$ snapcraft --use-lxd +... +Staging client +Priming client +Determining the version from the project repo (version: git). +The version has been set to 'v7.1.0+git4.a4af86f-dirty' +Snapping 'osmclient' \ +Snapped 'osmclient_v7.1.0+git4.a4af86f-dirty_amd64.snap' +``` + +## Install + +```bash +$ sudo snap install --devmode osmclient_v7.1.0+git4.a4af86f-dirty_amd64.snap +osmclient v7.1.0+git4.a4af86f-dirty installed +$ sudo snap alias osmclient.osm osm +```