github.com/solefaucet/sole-server/errors

sole-server


License
MIT
Install
go get github.com/solefaucet/sole-server/errors

Documentation

solebtc

Build Status Go Report Card codecov.io

Requirement

  • go1.6
  • mysql5.7

Installation

# easy enough by go get
$ go get -u github.com/freeusd/solebtc

DB Migration

Requirement

goose is needed for DB migration

$ go get bitbucket.org/liamstask/goose/cmd/goose

How to

# Migrate DB to the most recent version available
$ goose up

# Roll back version by 1
$ goose down

# Create a new migration
$ goose create SomeThingDescriptiveEnoughForYourChangeToDB sql

Development

Dependency Management

# After third party library is introduced or removed
$ GO15VENDOREXPERIMENT="0" godep save -r ./...

Lint

$ make metalint

Test

$ make test

Benchmark

$ make benchmark

Deployment

Requirement

fabric is needed for deployment.

$ pip install fabric

How to

If you have access to my server, simply run

$ fab -R production deploy:branch_name=master

But I am sure you do not XD