A static website built from Markdown into HTML via 11ty.
It's a node app. Clone it, install the dependencies, run the site builder.
npm i && npm run build
Clone this repo and change to the working directory.
git clone git@github.com:awfulwoman/site-generator.git
cd site
Install Node Version Manager. (I'm on a Mac. Bite me.)
brew install nvm
Add the following to .zshrc
to allow nvm to work.
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && \. "/usr/local/opt/nvm/nvm.sh" # This loads nvm
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
Install the required version of node.
nvm install
Install node application dependencies via npm.
npm install
Start a local dev server at http://localhost:8080/.
npm start
Just build the site.
npm run build