exch.gr-11ty is the front-end web portion of the blog hosted at https://exch.gr/. Using 11ty, it pulls data from the strapi backend and generates static HTML pages, stylesheets, RSS feeds, and minimal javascript.
- In strapi, generate an API token and remember it for the next step.
- Set these environment variables:
STRAPI_PROTOCOL=http
STRAPI_HOST=127.0.0.1
STRAPI_PORT=1337
STRAPI_TOKEN=TOKEN_YOU_JUST_GENERATED
STRAPI_FETCH_INTERVAL=0s- Run:
$ npx 11ty-serve
For trunk-based development workflows:
git push origin masteror merge your branch.