daurnimator / hashbang.sh

Public facing website on hashbang.sh with embedded user creation script.

Home Page:http://hashbang.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. Wrapping the html inside a bash multiline string that is ignored.
  2. Having the the bash script inside of an html comment.

This allows both bash and browsers to render this document appropriately.

Deployment

  1. Build/sign index.html (requires hashbang team private key in gpg ring)

    make
    
  2. Build/push new docker container

    docker build -t hashbang/hashbang.sh .
    docker push hashbang/hashbang.sh
    
  3. Restart systemd service on production CoreOS machine

    ssh core@hashbang.sh sudo systemctl restart hashbangsh
    

About

Public facing website on hashbang.sh with embedded user creation script.

http://hashbang.sh

License:MIT License


Languages

Language:HTML 53.9%Language:Shell 33.6%Language:Python 11.6%Language:Makefile 0.8%