github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/docs/apps/go/deploy/index.html.md (about)

     1  ---
     2  layout: "app_go"
     3  page_title: "Build & Deploy - Go App Type"
     4  sidebar_current: "docs-go-deploy"
     5  description: |-
     6    Otto defaults to assuming your Go application is a private service
     7    and deploys it with this assumption.
     8  ---
     9  
    10  # Build & Deploy
    11  
    12  Otto defaults to assuming your Go application is a private service
    13  and deploys it with this assumption.
    14  
    15  This page documents
    16  all the common deployment choices made for all infrastructures. The sidebar
    17  on the left can be used to view infrastructure-specific choices that are
    18  made for certain infrastructure targets.
    19  
    20  -> **NOTE:** Otto 0.1 doesn't yet support public-facing Go applications.
    21  This will be coming very shortly.
    22  
    23  ## Build
    24  
    25  The build process for Go involves installing Go, setting up the GOPATH,
    26  and calling `go build` in the project root with a custom output path so
    27  we can store the binary.
    28  
    29  The binary is configured to launch with no command line args for deploy.
    30  
    31  A future version of Otto will allow customizing the launch parameters
    32  so that things such as configuration files can be used.
    33  
    34  ## Deploy
    35  
    36  To deploy, the Go process is simply launched.