Here is a guide on how to get running a minimal project using emqttc.
- Install rebar3 (https://www.rebar3.org). You may look for it in your distribution or just install it from the website.
- Create a project. We will create a library project, which is good for experimenting. Later, when you want to build an actual application, you should create an app project or a release project.
$ rebar3 new lib emqtcc_minimal_project
This will create a directory emqtcc_minimal_project
in your CWD with project structure in it.