mirror of
https://github.com/chatmail/relay.git
synced 2026-05-18 20:08:21 +00:00
simplify start instructions
This commit is contained in:
@@ -25,24 +25,16 @@ Install `Incus <https://linuxcontainers.org/incus/>`_
|
|||||||
(LXC container manager).
|
(LXC container manager).
|
||||||
See the `official installation guide
|
See the `official installation guide
|
||||||
<https://linuxcontainers.org/incus/docs/main/installing/>`_
|
<https://linuxcontainers.org/incus/docs/main/installing/>`_
|
||||||
for full details, or use one of the shortcuts below:
|
for full details.
|
||||||
|
|
||||||
**Debian 12+ / Ubuntu 24.04+**
|
After installing incus, initialise and grant yourself access::
|
||||||
Incus is in the default repositories::
|
|
||||||
|
|
||||||
sudo apt install incus
|
|
||||||
|
|
||||||
For other distros like Arch, Fedora etc. please check out
|
|
||||||
`Incus support on many linux distros <https://linuxcontainers.org/incus/docs/main/installing/>`_.
|
|
||||||
|
|
||||||
After installing, initialise and grant yourself access::
|
|
||||||
|
|
||||||
sudo incus admin init --minimal
|
sudo incus admin init --minimal
|
||||||
sudo usermod -aG incus-admin $USER
|
sudo usermod -aG incus-admin $USER
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
|
||||||
You **must log out and back in** (or run ``newgrp incus-admin``)
|
You **must now log out and back in** (or run ``newgrp incus-admin``)
|
||||||
after adding yourself to the group.
|
after adding yourself to the group.
|
||||||
Without this, all ``cmdeploy lxc-*`` commands
|
Without this, all ``cmdeploy lxc-*`` commands
|
||||||
will fail with permission errors.
|
will fail with permission errors.
|
||||||
@@ -58,6 +50,7 @@ Quick start
|
|||||||
|
|
||||||
cd relay
|
cd relay
|
||||||
scripts/initenv.sh # bootstrap venv
|
scripts/initenv.sh # bootstrap venv
|
||||||
|
source venv/bin/activate # activate venv
|
||||||
cmdeploy lxc-test # create containers, deploy, test
|
cmdeploy lxc-test # create containers, deploy, test
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user