「PttWeb」:修訂間差異

出自Gea-Suan Lin's Wiki
跳至導覽 跳至搜尋
本頁面具有訪問限制。如果您看見此訊息,這代表您沒有訪問本頁面的權限。
行 26: 行 26:


* [[PttBBS]]
* [[PttBBS]]
== 參考資料 ==
{{Reflist|2}}


== 外部連結 ==
== 外部連結 ==

於 2020年4月8日 (三) 16:12 的修訂

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 -u github.com/ptt/pttweb; 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/...

編譯完成後會在~/go/bin裡面看到執行檔。

相關連結

參考資料

外部連結