added draft deploy, for getting feedback.
This commit is contained in:
		
							parent
							
								
									87eec1d61b
								
							
						
					
					
						commit
						018c27f6e3
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -79,7 +79,7 @@ This was almost a more important function than filesyncing, as my wife and I use
 | 
			
		|||
Keep shopping lists, chore lists, lists of movies to watch, lists of long term projects, etc.
 | 
			
		||||
(we *really* used the hell out of todo lists.)
 | 
			
		||||
 | 
			
		||||
For this, we used [Radicale](TODO). Radicale *only* does CalDav and CardDav syncing, nothing else,
 | 
			
		||||
For this, we used [Radicale](https://radicale.org/v3.html). Radicale *only* does CalDav and CardDav syncing, nothing else,
 | 
			
		||||
but between Syncthing and FileManager, thats all we needed it to do to complete the nextcloud replacement.
 | 
			
		||||
Installation was incredibly simple, thanks to the existence of a prebuilt NixOs module for it.
 | 
			
		||||
After about an hour of research and work, I had a Radicale server up and running on my Hetzner node,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										5
									
								
								justfile
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								justfile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -4,7 +4,12 @@ preview:
 | 
			
		|||
USER:='root'
 | 
			
		||||
HOST:='gabevenberg.com'
 | 
			
		||||
DIR:='/var/www/gabevenberg.com'
 | 
			
		||||
DRAFTDIR:='/var/www/draft.gabevenberg.com'
 | 
			
		||||
 | 
			
		||||
deploy:
 | 
			
		||||
    hugo --minify
 | 
			
		||||
    rsync -rvz --delete public/ {{USER}}@{{HOST}}:{{DIR}} # this will delete everything on the server that's not in the local public folder
 | 
			
		||||
 | 
			
		||||
deploy-preview:
 | 
			
		||||
    hugo --minify --buildDrafts --buildFuture
 | 
			
		||||
    rsync -rvz --delete public/ {{USER}}@{{HOST}}:{{DRAFTDIR}} # this will delete everything on the server that's not in the local public folder
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue