Skip to content

carbonsrv/carbon-embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

carbon-embed: Carbon app embedding helper.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published