Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 789 Bytes

install.md

File metadata and controls

50 lines (35 loc) · 789 Bytes

Build and Run

Build

Prerequisite

  • golang 1.13+
  • 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 github.com/baidu
    $ cd github.com/baidu
    $ git clone https://github.com/baidu/bfe
    $ cd bfe
    

Build from source

  • Run make in source directory of bfe (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