Phil Hawksworth's blog. Served up at https://www.hawksworx.com and hosted on Netlify
This site is comprised of static files generated by Eleventy for simplified deployment and hosting. It uses Gulp to automate some build optimisation tasks and to improve performance.
To build the site you need:
- Node - to run the build
- NPM - to install and manage dependencies
# clone this repository
git clone [email protected]:philhawksworth/hawksworx.com.git
# go to the working directory
cd hawksworx.com
# install dependencies
yarn
# start a local build server with hot reloading
yarn start
The build command yarn run build
will generate a set of static assets in a dist
folder which can be deployed to any web hosting service.
My preferred method is to host on Netlify which can run this build process in a CI environment and then deploy the build to automatically to a global CDN. Such deployments are triggered automatically by every git push to the master
branch of the origin repository.