Skip to content

dwservice/agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DWService - Agent

This is DWService agent for operative systems Linux, Mac and Windows. The code is written in python2 and several libraries are written c++.

Start the agent

If you prefer you can start the agent from the sources but you keep in mind in this mode the agent does not update automatically, so you need to update sources manually every time. Before to start the agent you need to:

  • Install python2.7
  • Install g++/make (if Windows download Mingw-w64 version 64bit or 32bit)
  • Download agent source code (zip or git clone)
  • Execute these commands from agent/make:
python2.7 compile_all.py (compile all c++ libraries)
python2.7 create_config.py (create config.json in agent/core path)

now you are ready to start the agent by execute this command from agent/core:

python2.7 agent.py

Setup the agent for development

Thanks Eclipse + Pydev and CDT you can develop the agent with only one IDE from your prefer operative system. You also need of python2.7 and g++/make (if Windows download Mingw-w64 version 64bit or 32bit) installed on your system. After configuring the IDE and importing the source code, you need to execute same scripts of "Start the agent" section.

You can read the guide on the wiki to learn how to setup the agent for development.

License Agreement

This software is free and open source. It consists of one core component released under the MPLv2 license, and several libraries and components defined "app" that could be governed by different licenses. you can read the "LICENSE" file in each folder.