Pyinfra that deploy linkding un-dockerized. Mostly to be used in LXD/C.
group_data | ||
inventories | ||
templates | ||
.gitignore | ||
deploy.py | ||
LICENSE | ||
README.md | ||
remove.py |
linkding
Pyinfra that deploy linkding un-dockerized on a Debian 11 LXD container.
Deployment
# lxc launch images:debian/11 <name>
# lxec exec <name> bash
# apt update && apt install python3-pip git
# pip install pyinfra
# git clone https://git.benpro.fr/pyinfra/linkding.git
# cd linkding
# pyinfra inventories/production.py deploy.py
Upgrade
Run remove.py
then deploy.py
.
# pyinfra inventories/production.py remove.py
# pyinfra inventories/production.py deploy.py
Run linkding command
A systemd-run wrapper is installed and you can use it via /usr/local/bin/linkding
.
Create a superuser:
# /usr/local/bin/linkding python manage.py createsuperuser --username=jdoe --email=jdoe@example.com