yamaszone / hello-12factor-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prerequisites

Develop

  • Startup local Kubernetes cluster following docs in the Prerequisites
  • ./stack dev <tool> # Launch app with hot-reloading. tool can be odo, skaffold, or tilt
    • See help: odo -h or skaffold -h or tilt -h
  • Test
    • Request
      curl -s "localhost:8000/hello?name=foo"
      
    • Response
      {"greetings":"Hello, foo!"}
      

Deploy

See ./stack -h

About

License:MIT License


Languages

Language:Shell 64.3%Language:Python 17.5%Language:Dockerfile 15.7%Language:Starlark 2.5%