PttWeb

来自Gea-Suan Lin's Wiki
Gslin讨论 | 贡献2020年4月8日 (三) 16:09的版本 →‎相依性套件
跳到导航 跳到搜索

PttWebPttBBS的網頁界面。

概要

PttWeb是一個Golang寫的界面,透過gRPCPttBBS的伺服器溝通。

相依性套件

先安裝需要的套件:

sudo apt install -y build-essential golang golang-goprotobuf-dev; sudo apt clean

編譯

這邊是參考.travis-ci.yml[1]

export GOPATH="$HOME/go"; go get google.golang.org/grpc; go get -u github.com/golang/protobuf/{proto,protoc-gen-go}; make -C $GOPATH/src/github.com/ptt/pttweb/proto; go get -u -t -f github.com/ptt/pttweb/...

相關連結

外部連結