server

command
v2.0.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

README

Cloud Foundry Deployment

For deploying to Cloud Foundry, use the following commands from the server directory:

GOOS=linux GOARCH=amd64 go build server.go
cf push <app-name> -b binary_buildpack -c ./server --no-start
cf set-health-check <app-name> process

Using the cf set-env command, set the following environment variables:

GOPACKAGENAME mydis
PORT 8383

Start the app:

cf start <app-name>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL