======
- go1.6
- mysql5.7
# easy enough by go get
$ go get -u github.com/solefaucet/sole-server
goose is needed for DB migration
$ go get bitbucket.org/liamstask/goose/cmd/goose
# 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
# After third party library is introduced or removed
$ GO15VENDOREXPERIMENT="0" godep save -r ./...
$ make metalint
$ make test
$ make benchmark
fabric is needed for deployment.
$ pip install fabric
If you have access to my server, simply run
$ fab -R production deploy:branch_name=master
But I am sure you do not XD