如何仅复制设计文档? [英] How to replicate design documents only?

查看:73
本文介绍了如何仅复制设计文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我想将对设计文件所做的一些更改从dev复制到生产中(也就是我想部署一些东西)。

So I want to replicate some changes I made to my design files from dev to production (a.k.a. I want to deploy something).

我有点困惑,因为我的研究并未得出任何具体结果。

I'm somehow confused since my research did not lead to any concrete results. Although this seams IMHO like a pretty obvious use case.

我遗漏了一些东西吗?

推荐答案

您可以指定要复制的文档ID,而无需编写过滤器。像这样发布复制文档(或命令):

You can specify the document IDs to replicate, without having to write a filter. Post the replication document (or command) like so:

{ "source": "my_db"
, "target": "http://target:5984/target_db"
, "doc_ids": [ "_design/my_ddoc" ]
}

这篇关于如何仅复制设计文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆