docs/installation: add instructions for installing apt repo
All checks were successful
Build and test / check (push) Successful in 1m41s
Build and test / build (push) Successful in 3m28s
Build and test / test (push) Successful in 3m7s
Build and test / check-license (push) Successful in 6m10s
Build and test / docs (push) Successful in 5m28s

This commit is contained in:
2025-12-04 15:24:35 +09:00
parent bfa50b4d7e
commit 94619edf73

View File

@@ -1,8 +1,25 @@
# Installation and configuration
## Installing with deb on Debian/Ubuntu
## Installing with deb on Debian
**TODO:** write this section once the package has been pushed to the gitea package repository.
You can install muscl by adding the muscl apt repository and installing the package:
```bash
# Check the version of your Debian installation
VERSION_CODENAME=$(lsb_release -cs)
# Add the repository
echo "deb [signed-by=/etc/apt/keyrings/pvvgit-projects.asc] https://git.pvv.ntnu.no/api/packages/Projects/debian $VERSION_CODENAME main" | sudo tee -a /etc/apt/sources.list.d/gitea.list
# Pull the repository key
sudo curl https://git.pvv.ntnu.no/api/packages/Projects/debian/repository.key -o /etc/apt/keyrings/pvvgit-projects.asc
# Update package lists
sudo apt update
# Install muscl
sudo apt install muscl
```
## Creating a database user