diff --git a/README.md b/README.md index 07cac9e..019ea14 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,16 @@ This is the source code for my personal website, hosted on , but you can pass hugo server arguments just like you would normally, so you can do: +To then build the static webpage using hugo, run [`./scripts/build.sh`](./scripts/build.sh), +which will create a `./public` directory, with all static files and can be hosted with a file server (such as nginx, or +apache). + +If you want to test out the webpage locally, or if you prefer to stick purely with hugo, even for deployment, instead +of building the webpage, you can use hugo's server functionality and run the [`scripts/server.sh`](./scripts/server.sh) +script instead of the build script. By default, this will host the server on , but you can pass +hugo server arguments to the script, just like you would with running bare `hugo server`. For example: ``` $ ./scripts/server.sh --bind 0.0.0.0 --port 80 --baseURL https://itsdrike.com/ ```