Skip to content

Commit

Permalink
Adjusted README.
Browse files Browse the repository at this point in the history
  • Loading branch information
lreimer committed Aug 19, 2022
1 parent 34f382c commit 9ac87a3
Showing 1 changed file with 13 additions and 32 deletions.
45 changes: 13 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,30 @@

This example implements a simple UI for the weather service using Vue 3.

## Maintainer

M.-Leander Reimer (@lreimer), <mario-leander.reimer@qaware.de>

Robin Kalleicher (@robink001), <robin.kalleicher@qaware.de>

## License

This software is provided under the Apache v2.0 open source license, read the `LICENSE`
file for details.

## Deploy the UI
## Build and Run locally

Before deploying the UI, make sure that a weather service of this workshop is already running on your Kubernetes cluster
on port 8080 as the frontend is depending on this existing weather service.

To deploy the UI using Tilt, execute the command:

```
```bash
# to start in Kubernetes either use Tilt or Skaffold
tilt up
```

inside the root directory of this project.

Alternatively you can deploy this frontend on a local kubernetes cluster by building the docker image locally via the
command:
skaffold dev --no-prune=false --cache-artifacts=false

```
docker build -t cloud-native-weather-vue .
# start the UI locally
# make sure the backend is running under `http://localhost:8080`
npm run serve
```

followed by:

```
kubectl apply -k k8s/overlays/dev
```
## Maintainer

## Start the UI locally
M.-Leander Reimer (@lreimer), <mario-leander.reimer@qaware.de>

To instead start the UI locally on your device, go to the root directory of this project and run the command:
Robin Kalleicher (@robink001), <robin.kalleicher@qaware.de>

```
npm run serve
```
## License

To test the frontend with a given backend of this workshop, make sure the backend is running under `http://localhost:8080`.
This software is provided under the Apache v2.0 open source license, read the `LICENSE`
file for details.

0 comments on commit 9ac87a3

Please sign in to comment.