Update README.md

This commit is contained in:
Asim Aslam
2020-12-08 20:59:03 +00:00
committed by GitHub
parent a4c54cd5c3
commit 637e7f9ce8

View File

@@ -16,18 +16,30 @@ Services provides a home for real world examples for using Micro v3.
## Usage ## Usage
Pull the service directly from github Install Micro
``` ```
# install micro # install micro
go get github.com/micro/micro/v3 go get github.com/micro/micro/v3
```
Run Micro
```
# run the server # run the server
micro server micro server
```
Login as an admin
```
# login with user: admin pass: micro # login with user: admin pass: micro
micro login micro login
```
Run a service from source
```
# run the service # run the service
micro run github.com/micro/services/helloworld micro run github.com/micro/services/helloworld
``` ```