CodeForPhilly / CodeForPhilly/stately

Can django compile the client assets then serve them?

未关闭
#13 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
Python
星标
22
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

Looks like `settings.py` has a setting for a static directory. I wonder if it can execute a command like `npm run build` at startup to compile it?

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先阅读 settings.py,定位客户端资源的设置以及 npm run build 的入口点。跟踪应用程序的启动路径,并确定是否可以在那里集成编译和提供服务;当客户端资源能够在启动时可靠地构建并提供服务时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
django, node.js, python
领域
backend, build-system, web-dev
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。