Pull and install our web engine to preview the website locally:
git clone [email protected]:dwarvesf/web-engine.gitClone this content repository:
git clone [email protected]:dwarvesf/d.foundation.gitThen, go to the web-engine directory, create .env in /app then point the content to the source directory:
# app/.env
CONTENT_DIR="../d.foundation"Then, install packages and run the web engine:
pnpm install
pnpm devThe website should be available at http://localhost:3000.
This repository also supports preview deployments for feature branches using GitHub Actions. Any push to a branch other than main will automatically trigger a preview deployment that can be accessed at https://dwarvesf.github.io/preview.d.foundation/preview/{branch-name}/.