blocace

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2020 License: Apache-2.0 Imports: 36 Imported by: 0

README

blocace Logo

Build Status GoDoc License

Blocace is a distributed document database powered by the blockchain technology.

Note to Developers

  • This is a prototype.
  • The APIs are constantly evolving and designed to demonstrate types of functionality. Expect substantial changes before the release.

Install

Compile on Linux/macOS/Windows

Prerequisite: Go version: 1.12 or later; GCC 5.1 or later.

Windows may need to install GCC if missing before installing the dependencies. Linux may also need to install gcc using the corresponding package management tool, like yum install gcc on RedHat or alike. macOS may need to install Xcode Command Line Tools.

Build and run with Go Modules

git clone https://github.com/codingpeasant/blocace.git
cd blocace
export GO111MODULE=on # Go 1.12 and earlier
go get
go build -ldflags="-s -w -X main.version=0.0.1"
./blocace server

You can also use the old way to get dependencies and run

git clone https://github.com/codingpeasant/blocace.git
mkdir -p ~/go/src/github.com/blocace
mv ./blocace ~/go/src/github.com/blocace/
go get github.com/sirupsen/logrus
go get github.com/dgrijalva/jwt-go
go get github.com/boltdb/bolt
go get github.com/blevesearch/bleve
go get github.com/ethereum/go-ethereum/crypto
go get github.com/gorilla/mux
go get gopkg.in/validator.v2
go get github.com/syndtr/goleveldb/leveldb
go get github.com/urfave/cli
go get github.com/thoas/go-funk
cd ~/go/src/github.com/blocace/blocace
go build -ldflags="-s -w -X main.version=0.0.1"
./blocace server

Download for Linux/macOS/Windows

If you'd like to try Blocace directly, here is the links and the binary's MD5 checksum

Linux
https://blocace.s3.us-east-2.amazonaws.com/linux/blocace-v0.0.1
MD5: 5e2c078ed359ecc0f38980bc759d6ac9
macOS
https://blocace.s3.us-east-2.amazonaws.com/macos/blocace-v0.0.1
MD5: 6a27775d477bc89097f9a927b58fdf69
Windows
https://blocace.s3.us-east-2.amazonaws.com/windows/blocace-v0.0.1.exe
MD5: 2dd5f6b5bb5c66a5c71254faf50081a4

Docs

Checkout Blocace In 10 Minutes

License

Blocace is licensed as Apache 2.0.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL