版本控制和 Strapi
我对 Strapi 中的版本控制感到困惑。我是否将整个 JavaScript 代码库置于版本控制中?是否有任何目录需要排除,因为它们是不需要的或者是安全漏洞?当我部署应用程序时,除了版本控制中的文件和“.env”之外,我还需要什么来部署应用程序;数据库中是否有对于应用程序来说至关重要的信息也需要迁移?我需要将数据库置于版本控制中吗?
I am confused about version control in Strapi. Do I put the entire JavaScript codebase in version control? Are there any directories I need to exclude because they are not needed or are a security vulnerability? When I deploy an app, what else do I need besides the files in version control and the '.env' to deploy the app; is there information in the database that is essential to the app that also needs to be migrated? Do I need to put the database in version control?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是我的 .gitignore 的内容(如果有用的话)
This is the content of my
.gitignore
if it's useful