Skip to content

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

License

Notifications You must be signed in to change notification settings

Zelaf/hashbang.sh

 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 45.1%
  • Shell 34.0%
  • Python 16.3%
  • CSS 2.0%
  • JavaScript 1.4%
  • Makefile 1.2%