2022-09-08 18:30:58 +00:00
|
|
|
#!/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
|
2022-09-09 03:57:19 +00:00
|
|
|
/usr/bin/go run genfeed.go > blog.xml
|
2022-09-08 18:30:58 +00:00
|
|
|
/usr/bin/go run genusers.go > users.html
|
2022-09-09 03:57:19 +00:00
|
|
|
/bin/cp index.html blog.html blog.xml users.html blog.css style.css /var/www/tilde.town/
|