Add a README file with publishing instructions

This commit is contained in:
Gergely Polonkai 2022-06-17 06:08:23 +02:00
parent 4da1081c40
commit 051fd87fb5
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
1 changed files with 18 additions and 0 deletions

18
README.md Normal file
View File

@ -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
```