Pull and install our web engine to preview the website locally:
git clone [email protected]:dwarvesf/web-engine.git
Clone this content repository:
git clone [email protected]:dwarvesf/d.foundation.git
Then, 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 dev
The 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}/
.