Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Oct 20, 2020
1 parent 3cc15d6 commit 10e2d1f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/getting-started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,17 +112,18 @@ All those services are ones started by our `micro server`. This is pretty cool,

The command to run services is `micro run`.

Simply issue the following command

```sh
$ micro status
NAME VERSION SOURCE STATUS BUILD UPDATED METADATA
helloworld latest github.com/micro/services/helloworld running n/a 4s ago owner=admin, group=micro
$ micro run github.com/micro/services/helloworld
```

Now check the status of the running service

If we take a look at the running services using `micro status`, we should see the service listed:
```sh
NAME VERSION SOURCE STATUS BUILD UPDATED METADATA
helloworld latest helloworld running n/a unknown owner=n/a,group=n/a
$ micro status
NAME VERSION SOURCE STATUS BUILD UPDATED METADATA
helloworld latest github.com/micro/services/helloworld running n/a 4s ago owner=admin, group=micro
```

We can also have a look at logs of the service to verify it's running.
Expand Down

0 comments on commit 10e2d1f

Please sign in to comment.