Favicon

Afara e.V.

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.

Setup

Running this site locally requires git and pnpm (or npm). With those installed, do:

  1. Clone the repo and change into its directory.

    git clone https://github.com/janosh/afara && cd afara
    
  2. (optional) Setup pre-commit hooks.

    pre-commit install
    
  3. Install dependencies.

    pnpm
    
  4. 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'.

  5. Start the dev server.

    pnpm dev
    

Deployment

This site is deployed as static HTML to GitHub Pages (by this action).

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes