Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Latest commit

 

History

History
31 lines (27 loc) · 672 Bytes

README.md

File metadata and controls

31 lines (27 loc) · 672 Bytes

ModuleAB Agent

Build

mkdir -p project/src
cd project/src
git clone --recursive https://github.com/ProjectModuleAngelaBaby/ProjectModuleAB_Server moduleab_server
git clone --recursive https://github.com/ProjectModuleAngelaBaby/ProjectModuleAB_Agent moduleab_agent
cd moduleab_agent
go get -v
make  # you will get 'moduleab_agent.tar.gz'

Configuration

server=http://localhost:7001
# you need to set this with the conf on server.
loginkey=guess?
# loglevel might be
# debug, info, warn, error, fatal
loglevel=debug
uploadthreads=5
pidfile=moduleab.pid
# if you have a machine has memory < 1G, try set this true.
lowmemorymode=true