Skip to content

ivanos/dobby_allinone_node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dobby All In One

This is an Erlang node that contains:

  1. dobby_core_lib
  2. dobby_rest_lib
  3. dobby_ui_lib
  4. erl_sshd

Table of Contents

Requirements

  • Erlang R17+
  • npm

Building

To build the application call: make. This will:

  • download the dependencies,
  • compile the code,
  • copy the dobby_ui_lib nodeJS artefact to the dobby_rest/priv/static/www
  • generate an Erlang release,
  • generate ssh keys
    • private and public user keys: ida_rsa and id_rsa.pub respectively in the project root directory
    • public and private system keys in the priv/erl_sshd that will be used by the ssh deamon running in the Erlang node
    • authorized_keys file that will already have the previously generated user public key

You may add your own public keys to the authorized_keys file in priv/erl_sshd (remember to rebar generate afterwards).

If you want to connect to the dobby Erlang shell using ssh with a username and password, add or modify the usernames and passwords to the erl_sshd section of rel/files/sys.config.

Running

rel/dobby_allinone/bin/dobby_allinone console

To access the Dobby Visualizer go to http://localhost:8080/static/www/index.html

Connecting via ssh

If you genereated keys in erl_sshd before generating the dobby release, you can connect to the dobby server's Erlang shell using ssh.

ssh 127.0.0.1 -p 11133 -i id_rsa

To exit the Erlang shell obtained via ssh call exit().

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published