Skip to content

canonical/charmed-valkey-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Charmed Valkey Snap

Release to Snap Store

This repository contains the packaging metadata for creating a snap of Valkey. For more information on snaps, visit snapcraft.io.

Installing the Snap

The snap can be installed directly from the Stap Store. Follow the link below for more information.

Get it from the Snap Store

sudo snap install charmed-valkey --edge

Interaction with the snap

By default, the snap will install and run the valkey-server. You can connect to the server via cli:

charmed-valkey.cli
127.0.0.1:6379> ping
PONG

Other available commands can be found here: snap info charmed-valkey

Building the Snap

Clone Repository

git clone [email protected]:canonical/charmed-valkey-snap.git
cd charmed-valkey-snap

Installing and Configuring Prerequisites

sudo snap install snapcraft
sudo snap install lxd
sudo lxd init --auto

Packing and Installing the Snap

snapcraft pack
sudo snap install ./charmed-valkey*.snap --devmode

License

The Charmed Valkey Snap is free software, distributed under the Apache Software License, version 2.0. See LICENSE for more information.