From 4403d8df2d160a8edbebb57534262250430e3746 Mon Sep 17 00:00:00 2001 From: Jeremy Kahn Date: Mon, 19 Sep 2022 21:32:43 -0500 Subject: [PATCH] docs: explain how to host builds --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 2598230..eed2287 100644 --- a/README.md +++ b/README.md @@ -141,8 +141,14 @@ Assuming you are hosting Chitchatter on [GitHub Pages](https://pages.github.com/ #### Deployment +##### On GitHub + When hosted on GitHub Pages and the configuration above has been done, the Production environment is updated when the remote `main` branch is updated. +##### On non-GitHub hosts + +Build the app with `npm run build`, and then serve the `build` directory. Any static file serving solution should work. + #### Runtime configuration Explore the files in `src/config` to modify pairing and relay server configuration.