简体   繁体   中英

Starting Rebar3 project for development with console and code updating

I created a project with Rebar3 like this

rebar new release app1

I then compiled it:

rebar3 compile

Now the question is, with Rebar3, how do I start a project in development mode?

My requirements are:

  1. That it would be started as an Erlang node
  2. To make it start with the dependencies and initialize the application
  3. To start with an interactive shell
  4. The ability to to compile on the fly from Emacs

Or can I only start a Rebar3 shell by hand and set the cookie?

To start the project you need to build release first. Rebar3 delegates this to relx tool. See here . As you have built release you are able to run it just as ./_build/default/bin/node_name .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM