I believe in long term content and that pages should last.
This static site is deployed to Cloudflare Pages with naked domain redirect.
This site follows the structure below:
/recipes/{recipe.html}
/writings/index.html
/about
-
Navigate to the public directory:
cd public
-
Start the server using npx:
npx http-server -p 8080 --cors
Options used:
-p 8080
: Runs on port 8080--cors
: Enables CORS for fonts and other resources
-
Open your browser to:
http://localhost:8080
If you don't have Node.js installed, you can use Python's built-in server:
# Python 3
python3 -m http.server 8080