This is an Erlang engine used to launch Erlang apps on Nanobox.
To use the Erlang engine, specify erlang
as your engine
in your boxfile.yml.
run.config:
engine: erlang
When running a build, this engine compiles code by doing the following:
make
This engine exposes configuration options through the boxfile.yml, a yaml config file used to provision and configure your app's infrastructure when using Nanobox. This engine makes the following options available.
run.config:
engine.config:
# Erlang Settings
runtime: erlang-18.1
make_target: 'my_project'
project_dir: dir_name
# Node.js Settings
nodejs_runtime: nodejs-4.4
Erlang Settings
Node.js Settings
The following setting allows you to define your Erlang runtime environment.
Specifies which Erlang runtime to use. The following runtimes are available:
- erlang-18.0
- erlang-18.1
run.config:
engine.config:
runtime: erlang-18.1
Defines which make task(s) should run when compiling the code.
run.config:
engine.config:
make_target: 'my_project'
Defines the directory from which the final, compiled code should be run.
run.config:
engine.config:
project_dir: dir_name
Many applications utilize Javascript tools in some way. This engine allows you to specify which Node.js runtime you'd like to use.
Specifies which Node.js runtime and version to use. You can view the available Node.js runtimes in the Node.js engine documentation.
run.config:
engine.config:
nodejs_runtime: nodejs-4.4
This is an Erlang engine provided by Nanobox. If you need help with this engine, you can reach out to us in the #nanobox IRC channel. If you are running into an issue with the engine, feel free to create a new issue on this project.