Serve React via static folder in Django
@travissouthard 已经在做这个了。
开始于 2023年5月8日。
评估
这个 Issue 还没有评估数据。
描述
Overview
As part of the deployment and actions added by @themightychris we want to build our React bundle and deliver it as static files via our Django container.
Context
We could leave the frontend to be delivered as a separate container, but it would require many more resources on Code for Philly's part and on the user's part. Serving this all from one container will be much better for everyone in the long run.
Suggested solution (optional)
This blog post shows a good way to move forward with this, starting at the "Configuring Django and static files" section since we already have our front and back ends built
- 主要语言
- Python
- 星标
- 8
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CodeForPhilly/third-places 的其他 Issue
-
map/gis react
CodeForPhilly/third-places#47 · 已指派 1 人 ·
-
map/gis react
CodeForPhilly/third-places#46 · 已指派 1 人 ·
-
django docker documentation
难度 3/5 1-2 天 新手友好度 35/100
-
enhancement react
难度 2/5 1-3 小时 新手友好度 35/100
-
react
难度 5/5 一周以上 新手友好度 20/100
查看 CodeForPhilly/third-places 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
sublimehq/package_control#1780 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
nwg-piotr/nwg-displays#145 ·