Menu

Tree [8a2929] master v0.0.2 /
 History

HTTPS access


File Date Author Commit
 .circleci 2018-07-12 Miguel Mota Miguel Mota [a53849] circleci cleanup
 bootstrap 2018-07-23 adam adam [021c94] renamed package from c3 to c3-go
 cmd 2018-07-23 adam adam [021c94] renamed package from c3 to c3-go
 common 2018-07-24 Miguel Mota Miguel Mota [6c321c] sandbox use docker copy instead of mounting
 config 2018-07-27 adam adam [af7c8f] process tx now adds to the pending pool
 core 2018-08-03 adam adam [d67f94] tmp
 example 2018-07-24 Miguel Mota Miguel Mota [6c321c] sandbox use docker copy instead of mounting
 log 2018-07-20 Miguel Mota Miguel Mota [606640] docker image tag helper
 node 2018-07-27 adam adam [af7c8f] process tx now adds to the pending pool
 registry 2018-07-23 adam adam [021c94] renamed package from c3 to c3-go
 scripts 2018-07-23 adam adam [021c94] renamed package from c3 to c3-go
 test 2018-07-20 adam adam [8131cd] chmod
 vendor 2018-07-23 adam adam [b81f41] made deps
 .gitignore 2018-07-20 adam adam [8131cd] chmod
 .travis.yml 2018-07-23 adam adam [029d08] tmp
 Gopkg.lock 2018-07-23 adam adam [b81f41] made deps
 Gopkg.toml 2018-07-20 adam adam [8131cd] chmod
 LICENSE 2018-07-07 adam adam [29ddd5] added apache 2.0
 Makefile 2018-07-26 Miguel Mota Miguel Mota [695acf] update makefile
 README.md 2018-07-24 Miguel Mota Miguel Mota [6c321c] sandbox use docker copy instead of mounting
 main.go 2018-07-23 adam adam [021c94] renamed package from c3 to c3-go
 package.json 2018-07-20 adam adam [8131cd] chmod

Read Me

sandbox

C3 Go

Go implementation of the C3 protocol

License CircleCI Coverage Status Go Report Card GoDoc Automated Release Notes by gren stability-experimental

Install

Requirements

CLI

Install using go get (must have Go installed).

go get -u github.com/c3systems/c3

Show help for C3

$ c3 help

Push image to IPFS

$ c3 push {imageID}

Pull image from IPFS

$ c3 pull {ipfsHash}

Docker config

Configure daemon.json to include the private registry as insecured (momentarily).

{
  "insecure-registries" : [
    "{YOUR_LOCAL_IP}:5000"
  ]
}
  • Linux
  • /etc/docker/daemon.json
  • macOS
  • ~/.docker/daemon.json

Restart the docker daemon after configuring daemon.json

Test

make test

Tests require docker daemon and IPFS daemon to be running

License

Apache 2.0