twtrubiks

Results 57 comments of twtrubiks

Hi @tliu123 Thank you PR. Your PR is great, but I'm afraid it will affect my youtube title, so I decided to leave it temporarily.

@AlanHuang1998 現在比較多都前後端分離了, 舉的例子, 後端用 DRF 弄 api , 前端可能用 vus.js 其他的前端框架串api. 當然, django 也可以寫前端, 或是前後端都寫再 Django. 如下舉例, https://github.com/twtrubiks/DRF-dataTable-Example-server-side

後端 drf 提供 api , 前端把它串起來這樣而已,建議你可以 google了解一下。

Hi @hauer9 我這個教學算是比較基本的教學,回答你的問題,你可以查一下 Nginx VirtualHosting 這些關鍵字,基本上,就是指到另一個 port 就 ok 了,有很多 nginx image 都幫你弄好了,只需要稍微設定一下即可。希望對你有幫助。

@freedom5566 已修正,謝謝提醒~

hi @fbukevin 非常謝謝你的 feedback! 關於第一點,可以參考 https://github.com/twtrubiks/docker-tutorial/blob/master/docker-compose.yml 關於第二點,Kubernetes (k8s) 沒接觸過,有機會我會了解一下 非常感謝

Hi @jren2017 Make good use of google, this problem should not be difficult to solve

@CrisJk requirements.txt 中有指定 django

可以參考 branch , 我之後有補充上去了 https://github.com/twtrubiks/django-rest-framework-tutorial/tree/django2#extra-actions-for-routing

建議你先看我文章開頭 docker 原理介紹和一些 docker 的指令,先了解這些,再去看如何使用 docker 建立 django 的範例。 有些非常基本的介紹,我就沒有再說明了,像是 git pull 這個.... 不然你可以單獨先去看我 django 的文章,該 repo 都有寫參考連結。