Giter Site home page Giter Site logo

paulwratt / hashbang.sh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hashbang/hashbang.sh

0.0 1.0 0.0 877 KB

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

Home Page: http://hashbang.sh

License: MIT License

Makefile 1.09% Python 21.68% HTML 41.73% Shell 31.29% JavaScript 1.29% CSS 1.79% Dockerfile 0.97% sed 0.17%

hashbang.sh's Introduction

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 [email protected] sudo systemctl restart hashbangsh
    

hashbang.sh's People

Contributors

aagat avatar chickennuggers avatar daurnimator avatar deleriux2 avatar drgrove avatar hogmoru avatar jandahl avatar kellerfuchs avatar lahemi avatar lollek avatar lolzballs avatar lrvick avatar mcdutchie avatar necrophcodr avatar ryansquared avatar scoreunder avatar sersorrel avatar stefan2904 avatar stephen-mw avatar theepicsnail avatar tilpner avatar zelaf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.