将属于 Rails 应用程序项目的文档放在哪里?
对于每个项目来说,它都分为两部分: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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用 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.