Pyinfra that deploy linkding un-dockerized. Mostly to be used in LXD/C.
This repository has been archived on 2023-02-05. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Benoit S 33098de98a Use dict for data_directories 2021-11-23 12:09:29 +09:00
group_data Use dict for data_directories 2021-11-23 12:09:29 +09:00
inventories Init project 2021-11-15 22:23:45 +09:00
templates Use arrays for systemd paths 2021-11-20 12:13:57 +09:00
.gitignore Init project 2021-11-15 22:23:45 +09:00
LICENSE Initial commit 2021-11-11 10:42:08 +00:00
README.md Add create a superuser 2021-11-20 11:38:32 +09:00
deploy.py Use dict for data_directories 2021-11-23 12:09:29 +09:00
remove.py Implement remove.py 2021-11-20 11:51:50 +09:00

README.md

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