Quick start View Source
Use rebar3 and nova
Start by add the rebar3 template for Nova.
Via Curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/novaframework/rebar3_nova/master/install.sh)"
Via wget
sh -c "$(wget -O- https://raw.githubusercontent.com/novaframework/rebar3_nova/master/install.sh)"
After this is done use rebar3 to generate a new project with Nova.
rebar3 new nova my_first_nova
$ rebar3 new nova my_first_app
===> Writing my_first_app/config/dev_sys.config.src
===> Writing my_first_app/config/prod_sys.config.src
===> Writing my_first_app/src/my_first_app.app.src
===> Writing my_first_app/src/my_first_app_app.erl
===> Writing my_first_app/src/my_first_app_sup.erl
===> Writing my_first_app/src/my_first_app_router.erl
===> Writing my_first_app/src/controllers/my_first_app_main_controller.erl
===> Writing my_first_app/rebar.config
===> Writing my_first_app/config/vm.args.src
===> Writing my_first_app/src/views/my_first_app_main.dtl
This will create a bunch of boiler plate files that helps you getting started. To start your app just type:
$ cd my_first_app
$ rebar3 nova serve
===> Verifying dependencies...
===> Compiling my_first_app
Erlang/OTP 20 [erts-9.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:0] [hipe] [kernel-poll:false]
...
a lot of progress-reports
...
===> Booted my_first_app
...
If you take a look at http://localhost:8080 you should be greeted by a Nova-page.
Nova admin
This is a project we hope to be presenting with the nova release 0.5.