How to setup lora packet forwarder using rpi and rak2247

Hi, I’m trying to build my own LoRa gateway using a raspberry pi 3 and a rak2247. I have read the documentation and I understand that I need the LoRa packet forwarder in my hardware to send the RF packets to the LNS. But wherever I try to find how to install the library, I still confused on how to setup it in my hardware. I’m trying to compile the lora-gateway ( but I can’t find any documentation about it. I also try using the lora basic station, but my hardware is not compatible. Can anybody share information about how to use the lora-gateway library?