From 0bea08cdb66a8045ae10b7ddbe9e8bcd8624ff05 Mon Sep 17 00:00:00 2001
From: Edileuton Henrique de Oliveira <eho09@inf.ufpr.br>
Date: Mon, 4 Aug 2014 17:06:04 -0300
Subject: [PATCH] Add PROINFODATA agent generation tutorial

Signed-off-by: Edileuton Henrique de Oliveira <eho09@inf.ufpr.br>
---
 README | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/README b/README
index 2d0731c..00c5ae9 100644
--- a/README
+++ b/README
@@ -1 +1,77 @@
 This is the PROINFODATA unstable repository.
+
+PROINFODATA-AGENT
+=================
+
+This program is supossed to be installed on client machines 
+here it will
+collect information about CPU, memory, disk, network, etc.
+All this information is sent to a WebService 
+and later displayed on datasid public website.
+
+
+COMPILING THE LINUX AGENT
+-------------------------
+
+Just run:
+#create the image to compile the client
+cd build
+sudo ./build-env.sh create
+sudo ./build-env.sh mount
+sudo ./build-env.sh shell
+
+#generate the agent
+su - user
+cd proinfo/build
+make
+
+After that, the following things will be generated on the 
+agent directory:
+
+1. proinfodata-1.4.1-update.run
+
+Description: The proinfodata agent update.
+Important: On a new agent realease, do not forget to edit the 
+file /home/proinfodata/conf/agent-version-linux to that way the 
+webservice can respond with the correct version and link.
+Destination: /home/proinfodata/www/download/Pacote_de_Atualizacao_SEED2_v$(VERSION).run
+
+2. build/SEED2-run
+
+Description: This directory contains the files needed to 
+generate the agent with the inep and proxy files embedded
+in the agent installer.
+Destination: /home/proinfodata/conf/agent-files/
+
+
+COMPILING THE WINDOWS AGENT
+---------------------------
+
+Just run:
+cd windows-installer
+#Install all packages required to generate the windows agent installer
+./install-essencials.sh
+
+#Generate the windows agent installer 
+make 
+
+or make test to generate the agent pointing to 
+the test server.
+
+After that, the following things will be generated on the 
+windows-installer directory:
+
+1. windows-agent
+
+Description: This directory contains the files needed to 
+generate the agent with the inep and proxy files embedded
+in the agent installer.
+Destination: /home/proinfodata/conf/
+
+2. windows-agent/ProInfoData.exe
+
+Description: The datasid agent update.
+Important: On a new agent realease, do not forget to edit the 
+file /home/proinfodata/conf/agent-version-win to that way the 
+webservice can respond with the correct version and link.
+Destination: /home/proinfodata/www/download/proinfodata_windows_$(VERSION).exe
\ No newline at end of file
-- 
GitLab