💾 Starting a local development server
🧶 Using Yarn:
yarn install and
yarn start, then open http://localhost:1337/. (Yarn must be installed first; NPM should also work at your own risk.) Hugo, Webpack, and Gulp will automatically work together to build the site, and pages will live-refresh via Browsersync when source files are changed.
The Vercel CLI is not included as a project dependency here, but installing it globally (
npm i -g vercel) and running
vercel dev in this repository will build and serve the static site automatically via Yarn as well as the serverless functions used in production. Pretty nifty! (Note: the CLI will usually start the server at http://localhost:3000/ instead of port 1337.)
🤯 Why does this look way more complex than it needs to be?!
Site content (everything in
content/notes) is published under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), which means that you can copy, redistribute, remix, transform, and build upon the content for any purpose as long as you give appropriate credit.
All original code in this repository is published under the MIT License.