User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:damselfly [2024/03/11 08:12] willyservices:damselfly [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Damselfly ====== 
- 
-[[https://damselfly.info|Damselfly]] is a digital asset management tool to manage huge collections of photos. Unfortunately it does not have a web-client but only  
- 
- 
-===== Installation ===== 
- 
-Non-containerized install instructions [[https://github.com/Webreaper/Damselfly/blob/master/docs/Installation.md#can-i-run-damselfly-without-docker|here]] 
- 
-Create user and make it group photos: 
- 
-<code bash> 
-groupadd photos 
-useradd -d /data/daemons/damselfly -m -g photos damselfly 
-su - damselfly 
-wget https://github.com/Webreaper/Damselfly/releases/download/4.1.0/damselfly-server-linux-4.1.0.zip 
-mkdir damselfly 
-cd damselfly 
-unzip damselfly-server-linux-4.1.0.zip 
-</code> 
-(the release zip file requires a sub-folder to store neatly all files) 
- 
-In order for Damselfly to work you need to install some dependencies, which can be found in the [[https://github.com/Webreaper/Damselfly-Base-Image/blob/main/Dockerfile|Docker file]]. 
- 
-There you go: 
-<code bash> 
-emerge -s media-fonts/liberation-fonts dev-dotnet/libgdiplus media-gfx/dcraw media-libs/exiftool 
-</code> 
- 
-The supposed //libgmp1// dependency is satisfied by adding **openmp** useflag to GCC (see [[https://forums.gentoo.org/viewtopic-p-5039135.html#6577903|here]]) which should be enabled by default in Gentoo. 
- 
-Since Damselfly uses INotify triggers, you need to increase defaults or it will be unable to monitor large collections of photos (see [[https://github.com/Webreaper/Damselfly/blob/master/docs/Installation.md#filewatcher-inotify-limits|here]].  
- 
-Create the file **/etc/sysctl.d/damselfly.conf**: 
-<file damselfy.conf> 
-fs.inotify.max_user_instances=524288 
-</file> 
- 
-And for it to be applied without a reboot: 
-<code bash> 
- sysctl -p /etc/sysctl.d/damselfly.conf 
-</code> 
- 
-===== Startup ===== 
- 
-Start: 
-<code bash> 
-./Damselfly.Web /path/to/my/photos 
-</code> 
- 
-You can now add automatic start as you wish, follow how i did for the other services. 
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information