carbon-embed

command module
v0.0.0-...-cada9ed Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2016 License: MIT Imports: 21 Imported by: 0

README

carbon-embed

Carbon app embedding helper.

Usage

Download the repository, make a folder called app containing your carbon app.

Make sure it has app.lua or init.lua as entry points.

Then, simply run make and it will build it.

Make sure you also have all the dependencies of carbon installed, including go-bindata.

You should probably grab the the Makefile, the glue folder and carbon-app.go and put it in your own apps' dir, relocation the actual source to a sub folder, which is due to be included in the binary.

Note

Since there are no carbon command line options anymore, you have to use specific environment variables to control the setup.

They all should be self explanatory.

  • CARBON_HOST
  • CARBON_PORT
  • CARBON_PORTS
  • CARBON_CERT
  • CARBON_KEY
  • CARBON_ENABLE_HTTP
  • CARBON_ENABLE_HTTPS
  • CARBON_ENABLE_HTTP2
  • CARBON_STATES
  • CARBON_WORKERS
  • CARBON_ROOT
  • CARBON_DEBUG
  • CARBON_LOGGER
  • CARBON_RECOVERY

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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