cd docker
docker-compose -f init.yml up -d
docker inspect docker_mysql_1
docker inspect docker_redis_1
cd ..
vi config/confgen.sh
make clean all pack
mkdir out
mv open-falcon-v2.0.0.tar.gz out/
cd out
tar zxvf open-falcon-v2.0.0.tar.gz
./open-falcon start agent graph transfer hbs fe query
# all modules
make all
# specified module
make agent
Agent for example:
./open-falcon agent [build|pack|start|stop|restart|status|tail]
Make sure you're using Go 1.5+ and GO15VENDOREXPERIMENT=1 env var is exported. (export GODEBUG=cgocheck=0
using Go 1.6+.)
- Install
trash
bygo get github.com/rancher/trash
. - Edit
trash.yml
file to your needs. See the example as follow. - Run
trash --keep
to download the dependencies.
package: github.com/Cepave/open-falcon-backend
import:
- package: github.com/Cepave/common # package name
version: origin/develop # tag, commit, or branch
repo: https://github.com/Cepave/common.git # (optional) git URL
make clean all pack