Skip to content

Commit

Permalink
Merge pull request #6 from waltribeiro/main
Browse files Browse the repository at this point in the history
chore: converted wordle app into wordpress app
  • Loading branch information
stevemar authored Aug 29, 2024
2 parents 2c878a1 + acff047 commit 8dea6f5
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
Binary file removed docs/images/part2/10-wordle.png
Binary file not shown.
Binary file added docs/images/part2/10-wordpress.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/part2/5-cloud-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ This workshop is split into three parts:
| Part | Title | Duration |
| - | - | - |
| 1 | Setup an Equinix Metal user account | 10 minutes |
| 2 | Provision a bare metal server and deploy Reactle with Kubernetes | 15 minutes |
| 2 | Provision a bare metal server and deploy Wordpress with Kubernetes | 15 minutes |
| 3 | Investigate latency on Equinix Metal with SmokePing | 15 minutes |
18 changes: 11 additions & 7 deletions docs/parts/reactle.md → docs/parts/wordpress.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Part 2: Provision a bare metal server and deploy Reactle with Kubernetes
# Part 2: Provision a bare metal server and deploy Wordpress with Kubernetes

In this part we'll begin to set up a bare metal server. We'll cover options such as metro locations, server types, and operating system choice.

Expand Down Expand Up @@ -50,7 +50,7 @@ Copy and paste the snippet of code below into the text box.
runcmd:
- curl -sfL https://get.k3s.io | sh -
- sleep 20
- kubectl apply -f https://raw.githubusercontent.com/stevemar/metal-code-snippets/main/yaml/reactle.yaml
- kubectl apply -f https://raw.githubusercontent.com/stevemar/metal-code-snippets/main/yaml/wordpress.yaml
```
!!! question "Open discussion"
Expand Down Expand Up @@ -88,23 +88,27 @@ Flip through a few sections to familiarize yourself with the overview page.
### 4. Verify the application is running
Click on the **Network** tab and find the public IP address.
Click on the **Network** tab and find the public IP address. Copy that IP address.
![](../images/part2/9-get-ip.png)
Launch a browser and navigate to the following URL:
```
http://<ip-address>:31000
http://<ip-address>:30001
```

You should now be presented with a running application. In this case, the app running is called Reactle, a clone of the popular game, Wordle.
You should now be presented with a running application. In this case, the app running is called Wordpress, a popular tool for building websites and blogs.

![](../images/part2/10-wordle.png)
![](../images/part2/10-wordpress.png)

Congrats - you just deployed an online website using bare metal and Kubernetes.

> NOTE: every `www.URL.com` is actually a number like `139.178.87.49` but we use domain registrars because words are easier to remember than numbers.
!!! example "Can't access the application?"

If you're unable to access the applicaiton due to network security, try using a personal device, like a phone.
If you're unable to access the application due to network security, try using a personal device, like a phone.

### 5. Clean up any resources

Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ nav:

- Parts:
- Setup an Account: parts/signup.md
- Deploy Reactle with Kubernetes: parts/reactle.md
- Deploy Wordpress with Kubernetes: parts/wordpress.md
- Investigate latency with SmokePing: parts/smokeping.md

- Conclusion: parts/conclusion.md
Expand Down

0 comments on commit 8dea6f5

Please sign in to comment.