/exch.gr-11ty

11ty frontend for exch.gr, backed by https://github.com/exchgr/exch.gr-strapi

Primary LanguageLiquid

exch.gr-11ty

What It Is

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.

Developing

  1. In strapi, generate an API token and remember it for the next step.
  2. 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
  1. Run:
$ npx 11ty-serve

Deploying

For trunk-based development workflows:

git push origin master

or merge your branch.