You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ You can see it live at [https://stake.eosnetwork.com](https://stake.eosnetwork.c
21
21
1.[Prerequisites](#prerequisites)
22
22
1.[Initialization](#initialization)
23
23
1.[Build](#build)
24
+
1.[Serve](#serve)
24
25
1.[See Also](#see-also)
25
26
26
27
<!-- contents markdown end -->
@@ -70,6 +71,15 @@ yarn build
70
71
```
71
72
The "build" generates a `build` folder in the root of the repo that can be uploaded directly to AWS S3 using the web console, AWS CLI, or with something like ~~Terraform~~ Tofu.
72
73
74
+
### Serve
75
+
Running this...
76
+
```bash
77
+
yarn serve
78
+
```
79
+
...uses [Caddy](https://caddyserver.com) in`file_server` mode to publish the build artifacts in the `build` folder in the root of the repo at port `8443` to emulate an S3 bucket. You can load this in your browser by nativating to [https://localhost:8443](https://localhost:8443).
0 commit comments