→ holishing: 好像還沒更新,再找時間試試看 10/31 19:21
好了
更新 Ptt Docker 映像使用方式,
主要是 websocket 的使用者介面開啟方式有差別:
若要使用 websocket 連線,
(sudo) docker run -d -p 8888:8888 -p 48763:48763 bbsdocker/imageptt
之後
要開啟的網址改成 https://bbsdocker.github.io/PttChrome-static/
(因為已經把 websocket client 相關的東西從 Docker image 分出去了)
拿來測 crawler api 的應該沒差,
相關文件見:https://github.com/ptt/pttbbs/wiki/Docker
若有什麼 config 要調整的可以參考
https://github.com/bbsdocker/imageptt/blob/master/pttbbs_conf 修改
或歡迎直接提 PR
--
你知道PTT有小天使嗎? 祂能幫助你唷! 小主人我來了^Q^ -
◥ ●β
、HELP 想呼叫屬於你的小天使嗎? /◥=
` 〈○〉 ▃▃▃ 只要按hh,就可以了唷!! Δ
新 ◥ >_<~
// ▅▅▅ 快按下"hh"呼叫你的小天使吧!\(≧▽ν≦)ωgarnier
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.116.137.106 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/PttCurrent/M.1604876915.A.CAB.html
技術更新內容:
- 改用 github actions 將建好的 image 推到 docker.io 的 registry
(docker 網頁的 autobuild 設定我不會用且不太好存起來管理)
- flatbuffers-compiler 沒辦法在沒用到時在 NetBSD Makefile 中被 disable 掉,
(理論上跟 USE_PFTERM 決定要不要編 pfterm.c 的感覺一樣應該可以連動?)
總之就先照要求把 flatc 裝起來吧:
https://github.com/bbsdocker/debian_flatc
更新: 已經給 PR 了
https://github.com/ptt/pttbbs/pull/89
※ 編輯: holishing (140.116.137.106 臺灣), 11/09/2020 07:23:35
現在開始每週會重建兩次 Docker image
並且保留各版本內容至以日期命名的 tag (bbsdocker/imageptt:20201112)
※ 編輯: holishing (140.116.137.106 臺灣), 11/12/2020 00:23:12
20210117 更新:
因應更新後的 pr 重整一下 Dockerfile 環境
如果不會測試到註冊相關開發功能的話,應該是不用再自己編 flatbuffer-compiler 了
※ 編輯: holishing (140.116.246.190 臺灣), 01/17/2021 23:06:20