My personal portfolio website.
This version of the website is generated using the Hugo static generator.
Hugo CLI can be installed by running the following:
git clone https://github.com/gohugoio/hugo.git
cd hugo
go install
hugo server -D
odo dev
By default, the baseURL
for Hugo is set to localhost:20001
. If you are running more than one components at once this will need to be changed.
For example, if the address binding will be localhost:20002 -> 1313
then run the following:
odo dev --var baseURL=localhost:20002
Run hugo --minify --baseURL=<base-url-of-web-server>
, then copy all content generated under public
to any target web directory of a web server.
To test out that this content is viewable from a web server, one can use hugo --minify --baseURL=http://localhost:8000
followed by python -m http.server --directory ./public
.