Skip to content

thursby/coastline-site

Repository files navigation

COASTLINE Website

Netlify Status

This is the documentation for the COASTLINE site. It's actually CØASTLINE but just in case that extended character gets mangled somehwere I thought it best to exclude it from the header. Now, where were we?

Oh, yes! The website!

Requirements

  • Node v8.x
  • NPX
  • NPM
  • Eleventy (via NPM)

Generating the static site using Eleventy

First, install Node and NPM for your platform. Google can help if you're lost here.

Then install nvm, set it to Node version 8, install npx, followed by project dependencies.

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
nvm use 8
npm install npx
npm install

Run the generator with npx.

npx eleventy

This uses Eleventy to turn the source files in /src/ into a website.

Then the resulting website is in _site.

For development you can have it run a local server.

npx eleventy --serve

Updates