Add a README file with publishing instructions
This commit is contained in:
		
							
								
								
									
										18
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								README.md
									
									
									
									
									
										Normal 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
 | 
			
		||||
```
 | 
			
		||||
		Reference in New Issue
	
	Block a user