This repository contains the packaging metadata for creating a snap of PostgreSQL built from the official Ubuntu repositories. For more information on snaps, visit snapcraft.io.
The snap can be installed directly from the Stap Store. Follow the link below for more information.
git clone git@github.com:canonical/charmed-postgresql-snap.git
cd charmed-postgresql-snapsudo snap install snapcraft
sudo snap install lxd
sudo lxd init --autoIn order to properly test the confinement of the snap, we must install it using the --dangerous flag,
instead of the --devmode one. See snap installation modes.
snapcraft pack
sudo snap install ./charmed-postgresql*.snap --dangerousThe PostgreSQL Snap is free software, distributed under the Apache Software License, version 2.0. See LICENSE for more information.