目录

blobuploader is a command-line client for uploading to the blobber server.

Installation

Run pip install -r requirements.txt to install Python prerequisites.

Run python setup.py install to install the modules and command-line tools.

Configuration

You will need to provide an authentication file containing a username and password matching those you specified in your blobber server config.

The file contents should look like:

blobber_username = 'username'
blobber_password = 'password'

Usage

Run blobberc.py -u *URL* -a *auth file* -b *branch name* *path to file* to upload a file to the blobber server at URL.

auth file should be the path to the file containing the username/password you’ve previously configured. branch name is a tag to indicate which branch this blob belongs to. Note that blobber has a hardcoded whitelist of file types that are acceptable, as well as a whitelist of allowed IP addresses.

关于
89.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号