My hawksworx.com blog site, powered by Eleventy and Netlify
Clone or download
Phil Hawksworth
Latest commit be623eb Dec 12, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_soon Reinstate the split test demo Oct 20, 2018
src more efficient and flexible theming Dec 12, 2018
.eleventy.js adding favicon and friends Dec 3, 2018
.env-sample adding Instagram Dec 10, 2018
.gitignore toml fun Oct 13, 2018
README.md repo URI fix Oct 18, 2018
gulpfile.js fix th gulp watcher Oct 20, 2018
netlify.toml adding functions Dec 6, 2018
package.json adding functions Dec 6, 2018
yarn.lock adding functions Dec 6, 2018

README.md

hawksworx.com

Phil Hawksworth's blog. Served up at https://www.hawksworx.com and hosted on Netlify

Overview

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.

Local development

To build the site you need:

  • Node - to run the build
  • Yarn - to install an manage dependencies

Getting started

# clone this repository
git clone git@github.com: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

Deployment

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.