Luciano Nooijen's personal website built in Hugo.
For development, run hugo server
. The development environment is now accessable on localhost:1313
.
You can also just use open http://localhost:1313 && hugo server
, but not all systems support this.
As Hugo is a static website builder, you can just host the website on any hosting service. To build the static files, run rm -rf build && hugo -d build -b [url]
.
I run hugo -d build -b https://lucianonooijen.com
.
Now upload the contents of the build
folder to the webhost and you're done.
The make
command can also be used:
Command | Functionality |
---|---|
make server |
Runs hugo server |
make dev |
Runs hugo server and opens localhost:1313 in browser |
make build |
Runs hugo build command as explained under the "production" header |
MIT