Afara is a non-profit organization from Würzburg, Germany aiming to support educational and youth welfare projects in Africa.
This site is built with Svelte and Contentful.
Running this site locally requires git
and pnpm
(or npm
). With those installed, do:
Clone the repo and change into its directory.
git clone https://github.com/janosh/afara && cd afara
(optional) Setup pre-commit
hooks.
pre-commit install
Install dependencies.
pnpm
Copy .env.example
to .env
.
cp .env.example .env
Then open .env
and insert your Contentful space ID and access token. These are found in the settings menu of a Contentful space under 'API keys'.
Start the dev server.
pnpm dev
This site is deployed as static HTML to GitHub Pages (by this action).