the web site for tilde.town. will eventually get merged into the `town` repo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
tilde.town/generate_homepage

11 lines
406 B

#!/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 genfeed.go > blog.xml
/usr/bin/go run genusers.go > users.html
/bin/cp index.html blog.html blog.xml users.html blog.css style.css /var/www/tilde.town/