Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我希望把spmjs.io资源同步到私服上怎么做 #115

Open
Gentlegay opened this issue Feb 6, 2015 · 5 comments
Open

我希望把spmjs.io资源同步到私服上怎么做 #115

Gentlegay opened this issue Feb 6, 2015 · 5 comments

Comments

@Gentlegay
Copy link

我新搭建了个私服,希望把公服上我需要的js包下载到我的私服上,这个要怎么做?

@Gentlegay
Copy link
Author

base.yaml 的whitelistOnly怎么设置

@sorrycc
Copy link
Member

sorrycc commented Feb 6, 2015

经常 502 吗?

On Fri, Feb 6, 2015 at 6:22 PM, zPeter notifications@github.com wrote:

base.yaml 的whitelistOnly怎么设置


Reply to this email directly or view it on GitHub
#115 (comment).

@hongcai
Copy link

hongcai commented Feb 26, 2015

私有源起来后,是0个package的,怎样同步官网spmjs.io的包到私有源上呢?
这个单向同步可以做到么?

修改 config/base.yaml 里的 sync 为 on 可开启来自 spmjs.io 的单向同步。

@sorrycc
Copy link
Member

sorrycc commented Feb 26, 2015

可以的。

2015-02-26 10:20 GMT+08:00 Hong notifications@github.com:

私有源起来后,是0个package的,怎样同步官网spmjs.io的包到私有源上呢?
这个单向同步可以做到么?

修改 config/base.yaml 里的 sync 为 on 可开启来自 spmjs.io 的单向同步。


Reply to this email directly or view it on GitHub
#115 (comment).

@hongcai
Copy link

hongcai commented Feb 26, 2015

打开了base.yaml的sync开关了,私有源还是0个package,看日志是有sync的,是不是还要配置什么:

spmjs-out-0.log
[2015-02-26 15:20:57] [sync] start
cacheIndex
cacheIndex
[2015-02-26 15:21:73] [sync] end


是由于网络_防火墙/代理_原因,现在已经开始sync了~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants