Skip to content

Myselia/MyceliaDaemon

Repository files navigation

MyceliaDaemon

Node Management Service

Dev Dependencies

  1. Have a Unix-like OS
  2. Run: # apt-get install g++ or install g++ on your system any other way.
  3. make # apt-get install makeor install make on your system any other way.

Application Dependencies

  • MyseliaCppCommon project in the same directory as the MyceliaDaemon
  • c++11
  • boost : libboost-dev 1.55.0.2+ (# apt-get install libboost-dev)
  • boost_system : libboost-system-dev 1.55.0.2+ (# apt-get install libboost-system-dev)
  • boost_thread : libboost-thread-dev 1.55.0.2+ (# apt-get install libboost-thread-dev)
  • boost_filesystem : libboost-filesystem-dev 1.55.0.2+ (# apt-get install libboost-filesystem-dev)

How to Compile

Command line

Run make

How to Install / Uninstall

How to Install

After compiling (make) run make install

How to Uninstall

Run make uninstall

How to Use

Once installed you can use the following commands:

  • service myseliad start to start the Daemon.

  • service myseliad stop to stop the Daemon.

  • service myseliad restart to restart the Daemon.

  • service myseliad status to know if the Daemon is running.

How to Configure

Configuration file is located at /opt/myseliad/config.json It contains the following options:

  • "username" and "password" are the username and password to provide when sending an execute command to the Daemon.
  • "port" is the port number the Daemon will bind to when started.

Once you change the configuration file you need to restart the Daemon for the new configuration to make effect (Run service myseliad restart).

How to setup IDE

  1. Follow "Dev Dependencies"
  2. Install Eclipse CDT
  3. Import project in Eclipse.
  4. File > Import > Existing Code as Makefile Project
  5. Click on Browse and select folder that contains this git repo.
  6. Choose Cross GCC as a toolchain.
  7. Click "Next" and you are done :)

About

Node Management Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors