1 Star 0 Fork 33

随缘飘沙 / BFE

forked from 百度开源 / BFE 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install.md 837 Bytes
一键复制 编辑 原始数据 按行查看 历史
iyangsj 提交于 2019-09-30 14:21 . Update install.md

Build and Run

Build

Prerequisite

  • golang 1.12+
  • golang yacc
  • git

Download the source code

  • BFE code can be found in following repo:

    https://github.com/baidu/bfe

  • Clone the main BFE repo:

    $ mkdir -p gocode/src/github.com/baidu
    $ cd gocode/src/github.com/baidu
    $ git clone https://github.com/baidu/bfe
    $ cd bfe

Build from source

  • Run build script in source directory of bfe (src/github.com/baidu/bfe):

    $ make
  • Run the tests:

    $ make test
  • BFE binary is generated as below:

    $ file output/bin/bfe
    
    output/bin/bfe: ELF 64-bit LSB executable ...

Run

  • Run bfe with the example configurations: conf

    $ cd output/bin/
    $ ./bfe -c ../conf -l ../log
1
https://gitee.com/suiyuanpiaosha/BFE.git
git@gitee.com:suiyuanpiaosha/BFE.git
suiyuanpiaosha
BFE
BFE
master

搜索帮助