git clone https://github.com/ideasonpurpose/asana.git .
- downloads a copy of this repository into the current terminal location.npm install
- install project dependencies, thennpm run start
- start the development environment at //localhost:8080npm run build
- build the site for production delivery.
Edit the src
directory.
After npm run build
, push everything to github, including the dist
folder.
github.io will automatically update in 5 minutes, tops.
11ty
- SSG configuration, plugins, shortcodes etc.src
- source folder, edit files here.data
- variables store, preferably JSON.includes
- reusable Nunjucks templates.layouts
- base layout templates.pages
- site content storage.assets
- store website assets here:favicon
- all files generated by Real Favicon Generator go in herefonts
img
js
pdf
sass
svg
video
dist
- distribution, ready for production.