This repository contains the source of the okdp.io marketing website, a bilingual (FR/EN) static site showcasing the OKDP platform, its architecture, modules, and roadmap.
# Install dependencies
npm install
# Generate HTML from templates, then start the dev server
npm run devnpm run dev runs two steps in sequence:
npm run generate: compiles Handlebars templates with locale data fromsrc/localesvite: starts the dev server with hot reload
npm run build # generate + vite build -> outputs to dist/
npm run preview # preview the production build locallyTo let contributors share a live preview without deploying anything in the upstream OKDP organization, the repository includes a fork-only GitHub Actions workflow in .github/workflows/preview.yml.
- it runs on every push to a non-
masterbranch in a fork - it publishes the built site to the fork's
gh-pagesbranch underpreviews/<branch-slug>/ - it is skipped automatically in the upstream
OKDP/okdp.iorepository - it removes the production
CNAMEfile before publishing, so a fork preview never tries to claimokdp.io
- Fork
OKDP/okdp.io - In the fork, enable GitHub Actions if prompted
- In Settings → Pages, configure GitHub Pages to deploy from the
gh-pagesbranch (root) - Push your feature branch to the fork
Your preview will then be available at:
https://<fork-owner>.github.io/<fork-repo-name>/previews/<branch-slug>/
When opening a pull request against upstream, you can paste that preview URL into the PR description.
- Organization: TOSIT Association
- Communication: Github discussion
