将属于 Rails 应用程序项目的文档放在哪里?

发布于 2024-09-15 19:01:50 字数 242 浏览 2 评论 0原文

对于每个项目来说,它都分为两部分:Rails 应用程序以及与其相关的所有文档和图片。

我想知道你是如何组织它们的。

您是否将所有内容都放在同一项目根文件夹下并在该文件夹上应用 Git,或者根本不使用 Git 保护您的文档?

然后,如果文档过于敏感或仅针对该项目的所有者怎么办?那我可能不应该把它放在同一个文件夹下,对吗?

您是如何构建 Rails 代码和所属业务文档的?

分享您的解决方案!

For every project it's like having two parts: the Rails application and then all documents and pictures related to it.

I wonder how you organize them both.

Do you put everything under the same project root folder and apply Git on that folder or don't you protect your documents with Git at all?

Then, what if the docs are too sensitive or only for owners of that project. Then I probably should't have it under the same folder right?

How have you structured both your Rails code and belonging business documents?

Share your solutions!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

尐偏执 2024-09-22 19:01:50

如果您使用 capistrano 进行部署,就像许多 Rails 应用程序一样,标准解决方案似乎是将这些类型的资产保留在共享文件夹中,然后在部署时使用 cap 将它们符号链接到应用程序中。

If you're deploying with capistrano, as a lot of Rails apps are, the standard solution seems to be to keep these sorts of assets within the shared folder, and then get cap to symlink them into the application at the point of deploy.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文