add a copy of the script
This commit is contained in:
		
							parent
							
								
									ae0bbce795
								
							
						
					
					
						commit
						dd8ec0f911
					
				
							
								
								
									
										10
									
								
								generate_homepage
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								generate_homepage
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,10 @@ | ||||
| #!/bin/bash | ||||
| 
 | ||||
| set -e | ||||
| 
 | ||||
| #/town/src/townstats/townstats | /usr/local/bin/mustache /town/src/tildetown-scripts/tildetown/templates/frontpage.html > /var/www/tilde.town/index.html | ||||
| 
 | ||||
| cd /town/src/tilde.town | ||||
| /usr/bin/go run genblog.go > blog.html | ||||
| /usr/bin/go run genusers.go > users.html | ||||
| /bin/cp index.html blog.html users.html blog.css style.css /var/www/tilde.town/ | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user