如何协同开发wordpress网站?
对于简单的项目,使用 subversion 在团队的 WordPress 安装之间同步主题/插件代码就足够了。然而,对于较大的项目,其中主题/插件依赖于内容,内容也需要同步。有没有办法自动完成此操作,而不是使用 Wordpress 中的导入/导出工具?
For simple projects, it is suffice enough to use subversion to synchronise theme/plugin code between team's Wordpress installations. However, with larger projects, in which themes/plugins are content dependent, content needs to be synchronised as well. Is there a way to do it automatically instead of using Import / Export tools from Wordpress?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将此插件设置为每小时备份: http://wordpress.org/extend/插件/wp-db-backup。它可以将备份发送到电子邮件,将其保存在服务器上或将其下载到您的计算机上(如果手动完成)。无论如何,内容都会保存其修订版本,因此我认为您不会遇到问题。
文件的 SVN 听起来实际上非常简洁,即使没有其他人在您的 WordPress 安装上工作,但您可以在共享主机上安装 svn 客户端吗?如果您有自己的服务器,这对您来说不是问题。
希望这对您有一点帮助!
You can set this plugin to an hourly backup: http://wordpress.org/extend/plugins/wp-db-backup. It can send backups to email, save them on server or download them on your machine (if done manually). Content is saving its revisions anyway so I don't think you'll have problems with that.
SVN for the files sounds actually pretty neat, even without having other people working on your WordPress installation, but can you install svn client on a shared hosting? If you got a server of your own, this won't be an issue for you.
Hope this helps you a bit!