From 051fd87fb51d6e8d85bfc2cd8b698b6125750eb9 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 17 Jun 2022 06:08:23 +0200 Subject: [PATCH] Add a README file with publishing instructions --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..4e389ce --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# Website of Gergely Polonkai + +## Publishing to the web + +``` +poetry run pelican content +rsync --archive --verbose --human-readable --delete output/ /data/gergely.polonkai.eu/html +restorecon -vr /data/gergely.polonkai.eu/html +``` + +## Publishing to IPFS + +``` +poetry run pelican -s ipfspublish.py -o ipfs-version content +cd ipfs-version +ipfs add -r . +ipfs name publish --key=gergely.polonkai.eu /ipfs/XXX +```