2018-10-25 11:03:59 +00:00
|
|
|
hscloud monorepo
|
|
|
|
================
|
|
|
|
|
|
|
|
This is the main git repository for all HSWAW cloud related code.
|
2018-10-25 11:16:17 +00:00
|
|
|
|
|
|
|
Building stuff
|
|
|
|
--------------
|
|
|
|
|
|
|
|
No bazel yet :^).
|
|
|
|
|
2018-10-25 12:20:50 +00:00
|
|
|
# get the monorepo
|
2018-10-25 11:16:17 +00:00
|
|
|
go get -d code.hackerspace.pl/hscloud
|
2018-10-25 12:20:50 +00:00
|
|
|
|
|
|
|
# install compile-time utilities
|
|
|
|
sudo apt install protobuf-compiler
|
|
|
|
go install code.hackerspace.pl/hscloud/go/vendor/github.com/golang/protobuf/protoc-gen-go
|
|
|
|
go install code.hackerspace.pl/hscloud/go/vendor/github.com/gobuffalo/packr/packr
|
|
|
|
|
|
|
|
# generate protos and packr boxes
|
2018-10-25 11:16:17 +00:00
|
|
|
go generate code.hackerspace.pl/hscloud/...
|
2018-10-25 12:20:50 +00:00
|
|
|
|
|
|
|
# install all services into PATH
|
2018-10-25 11:47:27 +00:00
|
|
|
go install code.hackerspace.pl/hscloud/go/svc/...
|
|
|
|
|
|
|
|
Running stuff in {dev,prod}
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
TODO(q3k): document this
|
2018-10-25 12:25:36 +00:00
|
|
|
|
|
|
|
License
|
|
|
|
=======
|
|
|
|
|
|
|
|
Everything that's not in `go/vendor` is licensed under the terms of the ISC license, see COPYING next to this file.
|