Back to Notenik Docs


Intro to Website Creation using Notenik

Intro to Website Creation using Notenik ↑

8. Intermission: installing a local web server

Start by reading the corresponding HTML for people chapter.

Blake’s information here is all perfectly applicable to web-building with Notenik.

I will add another option that I use.

Each time that macOS undergoes a major upgrade, I pick the right link on this page and carefully follow the instructions there.

The latest one at the time of this writing is titled Setting up a local web server on macOS 15 “Sequoia”.

These instructions require use of the Terminal app, plus editing of hidden files.

If you are uncomfortable with these tasks, then best to stick to Blake’s recommendation.

I will confess that I use BBEdit to make the configuration file edits, rather than vi or nano.

Also it helps to know that CMD-Shift-dot ( ⌘+⇧+. ) will toggle the display of hidden files in the Finder.

I think the advantage of this approach is that you can then use localhost to view your web work in your browser.

For example, here’s the URL I would use in my browser to view a local copy of my-notenik-project (with that folder located within my Sites folder).

http://localhost/~hbowie/my-notenik-project/web/

And here’s a command I could place at the end of my Notenik build script to ask that my site be opened in my web browser.

module action modifier object value
browse open url http://localhost/~hbowie/my-notenik-project/web/

Next: 9. Adding a fun page