Refactor Import Script and Files
还没有人认领这个 Issue。
评估
调研方向
检查导入脚本及其支持文件,然后查看 spec/fixtures/files 中的示例文件。首先跟踪脚本如何选择其环境和内容源。完成标准是阻止在 production 中执行,development 和 staging 可以接收完整规模的非专有内容集,培训文档使用示例文件,并且包含一个 MP3。
由索引模型根据 Issue 内容生成。
描述
The import script was written to support the registration of actual content from CMES-Pi into SkillRX. That task is complete and we no longer need that functionality. The script and the supporting files are still useful for setting up development environments and resetting the staging environment. We want to modify them to specifically support development/staging and to not run in production.
Also, because the training documents are proprietary, we do not want real content in staging.
We want the script to allow us to create a full content set that is parallel in size/load to production, but which does not contain real content.
- Block the script from running in production.
- Run entirely off the local files OR from randomly-generated content
- Upload training documents for the generated topics using the sample files in spec/fixtures/files
- Add an MP3 file to the sample files
- 主要语言
- Ruby
- 星标
- 16
- 派生
- 11
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rubyforgood/skillrx 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
rubyforgood/skillrx#736 ·
-
Discrepancies between SkillRx and Azure可能重新可做 @dcollie2 于 66 天前认领,目前没有进行中的 PR。 未关闭
rubyforgood/skillrx#734 · 已指派 2 人 ·
-
Requirements Incomplete
难度 4/5 3-5 天 新手友好度 66/100
rubyforgood/skillrx#700 ·
-
Topics UI Tweaks可能已有人在做 @LucassF5 于 131 天前认领。 未关闭enhancement good first issue User Interface
rubyforgood/skillrx#699 · 2 条评论 · 已指派 1 人 ·
-
bug User Interface
难度 2/5 1-3 小时 新手友好度 55/100
rubyforgood/skillrx#606 ·
查看 rubyforgood/skillrx 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 67/100
TheOdinProject/curriculum#31501 ·
维护者通常 1 天内回复
-
L: javascript
难度 2/5 1-3 小时 新手友好度 72/100
dependabot/dependabot-core#16744 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
area:core-lib P2 size:S
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复