Starter kit for static sites on Nanoc generator with TailwindCSS styling. Ruby is the only dependency required.
It is assumed you have Ruby present on your system. Create a new repository from the template. Or just copy the contents of this repository to any place — whatever works.
There's a bunch of useful tasks to make life easier:
-
make setupwill install all required Ruby gem dependencies, feel free to extend it in your copy -
make devspins development server on localhost:3000 with live reloads of CSS and HTML -
make buildproduces optimizedoutput/— ready for production
If you've seeded your site with this starter and want to catch-up to its latest version, you can extract the latest release on top of your existing code:
curl -s https://api.github.com/repos/arkency/nanoc-tailwind-starter/releases/latest |\
grep tarball_url |\
cut -d'"' -f4 |\
xargs -n 1 curl -sSL |\
tar -xz --strip-components=1 \
--exclude .github \
--exclude .gitignore \
--exclude README.md \
--exclude Gemfile.lockThen you have decide which changes go in and which not based on the git diff. And that's it.