Rebar3 Nova
View SourceNova comes with a set of handy rebar3 commands to make development and management of your Nova projects easier. These commands are provided by the rebar3_nova plugin, which is typically installed automatically when you follow Nova’s installation instructions.
Available Commands
rebar3 new nova <project-name>
Creates a new Nova project scaffold in the directory <project-name>. This sets up the recommended directory structure, configuration files, and example modules so you can get started quickly.
rebar3 nova serve
Starts the Nova project with live reload. The server will listen on the port specified in your sys.config file. This command also enables hot code reloading, so any changes to your code are automatically reflected without restarting the server.
rebar3 nova routes
Prints a list of all routes configured in your project, including those from any included Nova applications. This is helpful for quickly reviewing your application’s endpoints.
Example Workflow
Create a new project:
$ rebar3 new nova my_app $ cd my_appStart the development server:
$ rebar3 nova serveCheck your routes:
$ rebar3 nova routes
Future Features
The Nova team plans to expand the set of available rebar3 commands. If you have suggestions or feature requests, please open an issue on the Nova GitHub repository.