This serves as the landing page for hashbang.sh.
The index.html is both an html page, and a bash script, which is done by:
- Wrapping the html inside a bash multiline string that is ignored.
- Having the the bash script inside of an html comment.
This allows both bash and browsers to render this document appropriately.
-
Build/sign index.html (requires hashbang team private key in gpg ring)
make
-
Build/push new docker container
docker build -t hashbang/hashbang.sh . docker push hashbang/hashbang.sh
-
Restart systemd service on production CoreOS machine
ssh core@hashbang.sh sudo systemctl restart hashbangsh