Pyinfra that deploy linkding un-dockerized. Mostly to be used in LXD/C.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Benoit S 33098de98a
Use dict for data_directories
1 year ago
group_data Use dict for data_directories 1 year ago
inventories Init project 1 year ago
templates Use arrays for systemd paths 1 year ago
.gitignore Init project 1 year ago
LICENSE Initial commit 1 year ago
README.md Add create a superuser 1 year ago
deploy.py Use dict for data_directories 1 year ago
remove.py Implement remove.py 1 year ago

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