-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instructions for running a single machine demo
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,17 @@ | |
Demo code and microservices for the HashiCorp Consul 101 course. | ||
|
||
Email [email protected] or see https://www.hashicorp.com/training for details. | ||
|
||
## Quickstart | ||
|
||
More documentation is coming. In the meantime, you can start a local demo with: | ||
|
||
consul agent -dev -config-dir="./demo-config-localhost" -node=laptop | ||
|
||
Then start instances of `dashboard-service` and `counting-service` | ||
|
||
cd services/dashboard-service | ||
PORT=9002 go run main.go | ||
|
||
cd services/counting-service | ||
PORT=9003 go run main.go |