Written in Svelte with SvelteKit. A static site for hosting information relating to Whakaoranga Whanau Recovery Hub, Freedom Whare & Whakamanamai Charitable Trust.
Learn more about the Whakaoranga Whanau & He Waka Eke Noa Te Tai Tokerau here.
A .nvmrc
file is included to guarantee parity when it comes to node. Install
nvm
and run nvm install
in this directory.
Afterwards, it's a typical node project. Run npm/yarn/pnpm install
, scripts
can be found in package.json
. We've got a pretty typical setup, npm run dev
to start the dev server, the rest are related to CI/CD & deployment.
Saying that, there is a .devcontainer
provided, which means you don't need
to run any setup in your local environment if you have podman
installed. Just
let VS Code, or podman
, set up a container, and then utilise the container for
development.
DNS
is managed over at Netlify.
git push
to any branch will trigger a deployment - currently main
and
develop
. This is useful for sharing previews of a change that's going to be
made by providing people with https://develop.wowhub.co.nz
.
Careful not to run the free build minutes dry, and be conservative when pushing commits to remote.
We are primarily hosting w/ Netlify to take advantage of their Forms
feature,
and other projects of mine utilise Identity,
and NetlifyCMS, so it's beneficial to have them
all in the same space for sanity's sake.