This repository contains the source code for the FLOSS Fund website.
Follow these steps to build the website using Zola with Docker:
-
Clone the Repository
git clone https://github.com/floss-fund/website.git cd website
-
Run the Docker Container
docker run -u "$(id -u):$(id -g)" -v $PWD:/app --workdir /app ghcr.io/getzola/zola:v0.19.2 build
Make sure you have Docker installed and running on your machine before executing these commands.
-
Serve the Website
docker run -u "$(id -u):$(id -g)" -v $PWD:/app --workdir /app -p 1024:1024 -p 8080:8080 ghcr.io/getzola/zola:v0.19.2 serve --interface 0.0.0.0 --port 8080 --base-url localhost
-
Access the Served Website Open your browser and navigate to
http://localhost:8000
to view the live-reloaded website.