moraszk / mora-gallery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Móra Gallery

Installation

  • Clone this repo to /srv/
  • Mount the gallery at /media/mora_photo
  • Install the requirements:
apt install nginx spawn-fcgi fcgiwrap libjson-perl perlmagick libimage-info-perl libfcgi-perl libcgi-session-perl nginx-extras
apt install python3 python3-willow python3-opencv python3-waitress
  • Install the systemd unit
ln -s /srv/mora-gallery/gallery.system /etc/systemd/system/gallery.system
systemctl daemon-reload
systemctl enable gallery
systemctl start gallery
  • Configure other things
mkdir /var/run/nginx-cache /var/run/nginx-cache2
chown www-data /var/run/nginx-ca*

About

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 86.0%Language:HTML 4.6%Language:CSS 4.5%Language:Python 3.4%Language:Perl 1.6%