git clone https://github.com/RedHat-Israel/RedHat-Israel.github.io
cd RedHat-Israel.github.io
npm ci
If you want to develop against the GitHub API, generate a Personal Access Token and save it in a
.env
in the repository root. DO NOT COMMIT THIS FILE.
example:
SITE_GITHUB_TOKEN=your_github_pat_here
build and host locally for local development
npm start
Or build the site for deployment
npx @11ty/eleventy
Or build automatically when a template changes:
npx @11ty/eleventy --watch
Or in debug mode:
DEBUG=* npx @11ty/eleventy