-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes: Readme, APIs routes, front end
.map
bug... (#21)
* fix(front end): fix bugs and issues with map * fix(docs): updated docs to match * fix(api): fix breaking APIs because of :id * makefile: add more commands
- Loading branch information
1 parent
5a716a6
commit a923251
Showing
12 changed files
with
71 additions
and
19 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
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
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
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 |
---|---|---|
|
@@ -28,6 +28,7 @@ services: | |
|
||
queue: | ||
image: rabbitmq:3.9 | ||
restart: unless-stopped | ||
ports: | ||
- 5672:5672 | ||
- 15672:15672 | ||
|
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 |
---|---|---|
|
@@ -2,38 +2,52 @@ | |
|
||
## Run it locally | ||
|
||
To try it locally, you can use `docker-compose` to run the API, its Worker, and all its dependencies. | ||
To try it locally, you can use Docker Compose to run the API, its Worker, and all its dependencies. | ||
|
||
### Requirements | ||
- [docker](https://www.docker.com/get-started/) | ||
- [docker-compose](https://docs.docker.com/compose/install/) | ||
|
||
1. [Docker](https://www.docker.com/get-started/) | ||
2. [Docker Compose](https://docs.docker.com/compose/install/) | ||
|
||
### Steps | ||
|
||
1. Clone the project | ||
2. Go to the `api` folder inside the project folder | ||
3. Execute `docker-compose up` | ||
2. Go to the `pokeshop` project folder | ||
3. Execute `make run` | ||
|
||
### Script | ||
|
||
```$ | ||
git clone [email protected]:kubeshop/pokeshop.git | ||
cd pokeshop/api | ||
docker-compose up | ||
cd pokeshop | ||
make run | ||
``` | ||
|
||
This will start the Pokeshop app on `http://localhost:8081` and Tracetest on `http://localhost:11633`. | ||
|
||
The `make run` command will also trigger four **Tests** when started. | ||
|
||
![tracetest initial tests](https://res.cloudinary.com/djwdcmwdz/image/upload/v1693846733/docs/localhost_11633__10_px4kqa.png) | ||
|
||
As well as one **Test Suite**. | ||
|
||
![tracetest initial test suite](https://res.cloudinary.com/djwdcmwdz/image/upload/v1693846736/docs/localhost_11633__11_coms2i.png) | ||
|
||
|
||
## Run on a Kubernetes cluster | ||
|
||
If you want to run this project on a real cluster, we provide a helm chart to install it. This installation doesn't create a jaeger instance for you, so you have to install it manually and set the `JAEGER_HOST` and `JAEGER_PORT` on the `env` section of the file `helm-chart/values.yml`. | ||
|
||
### Requirements | ||
|
||
1. [helm](https://helm.sh/) | ||
|
||
### Steps | ||
|
||
1. Clone the project | ||
2. Go to the helm-chart folder inside the project folder | ||
3. Execute `helm dependency update` | ||
4. Update `JAEGER_HOST` and `JAEGER_PORT` on the file `helm-chart/values.yml` to reflect your cluster's jaeger instance | ||
5. Execute `helm install -n demo -f values.yaml --create-namespace demo .` | ||
|
||
> :warning: **This will create a namespace called "demo" on your cluster**. If you wish to change it, replace `-n demo` on step 5 with `-n <your-namespace>`. | ||
> :warning: **This will create a namespace called "demo" on your cluster**. If you wish to change it, replace `-n demo` on step 5 with `-n <your-namespace>`. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const DOCUMENTATION_URL = 'https://kubeshop.github.io/tracetest/'; | ||
export const DOCUMENTATION_URL = 'https://docs.tracetest.io'; | ||
export const GITHUB_URL = 'https://github.com/kubeshop/tracetest'; | ||
export const GITHUB_ISSUES_URL = 'https://github.com/kubeshop/tracetest/issues/new/choose'; | ||
export const DISCORD_URL = 'https://discord.gg/6zupCZFQbe'; |
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
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