This is onboarding for anyone working at Micro.
We need a set of steps and procedures to bring someone upto speed with micro. This is for anyone who joins the team and needs to hit the ground running. Part of that is getting access to tools, setting up an environment, but also getting to know team members and learning about the bigger picture.
- Add to accounts
- Schedule calls
- Setup your environment
- Create a service
- Read the docs
- Walk through examples
- Build some services
- Deploy to the platform
Team day 1 onboarding requirements:
- Add to Gmail
- Add to Slack
- Add to Cloud {Scaleway, DO, GCP, ...}
- Add to GitHub
- Add to DockerHub
- Add to 1Password
- Add to Stripe
- Add admin accounts for dev and platform tiers of m3o
- Add to Cloudflare
- Add to Linear
Reach out to each team member and schedule 1:1 calls to get to know colleagues. Add to regular team calls.
Download and install Go from https://golang.org/dl/
If you're new to Go walk through the tour https://tour.golang.org/welcome/1
Ensure go modules are enabled and your PATH is set:
export GO111MODULE=on
export PATH=$PATH:$(go env GOPATH)/bingo get github.com/micro/go-micro/v2
go get github.com/micro/micro/v2Also, install protobuf and the relevant generators:
brew install protobuf
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
go get -u github.com/micro/micro/v2/cmd/protoc-gen-microCreate a new service
micro new github.com/micro/mynewserviceCompile the proto file
cd github.com/micro/mynewservice/
protoc --proto_path=. --go_out=. --micro_out=. proto/mynewservice/mynewservice.protoRun the service
cd github.com/micro/mynewservice
go run main.goLookup the service
micro list servicesGet the service
micro get service go.micro.srv.mynewserviceCall the service
micro call go.micro.srv.mynewservice Mynewservice.Call '{"name": "John"}'Start the API
micro api --namespace=go.micro.srvCall via the api
curl -XPOST -d '{"name": "John"}' http://localhost:8080/mynewservice/callStart the web app
micro webView at http://localhost:8082
Skim through the docs at https://micro.mu/docs/ to get an overview.
And the design docs in this repo. Make a note of missing or stale content.
Walk through the examples at https://github.com/micro/examples
- Start with the basic helloworld
- See the end to end app example with the greeter
- How to do bidirectional streaming
- Simple pubsub via the go-micro/broker
Write some services using https://github.com/micro/go-micro to explore the framework.
Example services can be found here https://github.com/micro/services
Get credentials from the team to deploy to the micro platform