Node Management Service
- Have a Unix-like OS
- Run:
# apt-get install g++or install g++ on your system any other way. - make
# apt-get install makeor install make on your system any other way.
- 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)
Run make
After compiling (make) run make install
Run make uninstall
Once installed you can use the following commands:
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).
- Follow "Dev Dependencies"
- Install Eclipse CDT
- Import project in Eclipse.
- File > Import > Existing Code as Makefile Project
- Click on Browse and select folder that contains this git repo.
- Choose Cross GCC as a toolchain.
- Click "Next" and you are done :)