Github pages site for danielproctor.dev
Uses:
Use the devcontainer with Docker and VSCode to get started. Alternatively install NodeJS (v20).
once setup, from src
run:
npm ci
To start dev, run:
npm run dev
Website: http://localhost:4321
If using TinaCMS the following env variables are required:
TINA_CLIENT_ID=
TINA_TOKEN=
TINA_INDEXER_TOKEN=
TINA_BRANCH=main
From src
run:
npm run build:tina # optional if using TinaCMS
npm run build:prod
TinaCMS can be accessed from /admin/index.html
Alternatively there is a also a docker build, from the root directory run:
docker compose up -d