From e2d3030b5d7c719600213ecec43f941a44491134 Mon Sep 17 00:00:00 2001 From: EHP Date: Wed, 18 Dec 2019 14:07:00 +0100 Subject: [PATCH] Rsync publish --- .gitignore | 1 + Makefile | 4 ++-- pelicanconf.py | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 51b1c92..ef3c0ca 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ __pycache__/ output/ *.pyc *.pid +.venv/ diff --git a/Makefile b/Makefile index 63577a5..02ab954 100644 --- a/Makefile +++ b/Makefile @@ -12,10 +12,10 @@ FTP_HOST=localhost FTP_USER=anonymous FTP_TARGET_DIR=/ -SSH_HOST=localhost +SSH_HOST=vps.ehp.cz SSH_PORT=22 SSH_USER=root -SSH_TARGET_DIR=/var/www +SSH_TARGET_DIR=/var/www-osoracov/www.osoracov.cz S3_BUCKET=my_s3_bucket diff --git a/pelicanconf.py b/pelicanconf.py index 92decd7..d984c29 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -44,7 +44,8 @@ PLUGINS = ["photos"] THEME = "theme" #THEME = "github/pelican-themes/sneakyidea" -PHOTO_LIBRARY = "/mnt/data/pohadky/osoracov-web/content/gallery" +PHOTO_LIBRARY = "content/gallery" +#PHOTO_LIBRARY = "/mnt/data/pohadky/osoracov-web/content/gallery" #PHOTO_LIBRARY = "~/osoracov/content/gallery" PHOTO_GALLERY = (1024, 768, 80) PHOTO_THUMB = (192, 144, 60)