mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
Update README.md
This commit is contained in:
14
README.md
14
README.md
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user