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:
12
README.md
12
README.md
@@ -16,31 +16,21 @@ Services provides a home for real world examples for using Micro v3.
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Install Micro
|
|
||||||
|
|
||||||
```
|
|
||||||
# install micro
|
|
||||||
go get github.com/micro/micro/v3
|
|
||||||
```
|
|
||||||
|
|
||||||
Run Micro
|
Run Micro
|
||||||
|
|
||||||
```
|
```
|
||||||
# run the server
|
|
||||||
micro server
|
micro server
|
||||||
```
|
```
|
||||||
|
|
||||||
Login as an admin
|
Login (user: admin pass: micro)
|
||||||
|
|
||||||
```
|
```
|
||||||
# login with user: admin pass: micro
|
|
||||||
micro login
|
micro login
|
||||||
```
|
```
|
||||||
|
|
||||||
Run a service from source
|
Run a service from source
|
||||||
|
|
||||||
```
|
```
|
||||||
# run the service
|
|
||||||
micro run github.com/micro/services/helloworld
|
micro run github.com/micro/services/helloworld
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user