Guide and scripts to locally build the FSFE website or single files of it
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Michael Weimann 294a2ff8b0 Removes less from docker (#5) 4 个月前
status change ignoring and keeping of folders to prevent dirty directories when dealing with the fsfe-website git and its .gitignore 10 个月前
.gitignore Add a docker dev setup (#3) 5 个月前
Dockerfile Removes less from docker (#5) 4 个月前
LICENSE adding README and license 2 年前 Add a docker dev setup (#3) 5 个月前
config.cfg.docker Add a docker dev setup (#3) 5 个月前
config.cfg.sample fix paths 10 个月前 initial commit 2 年前 Removes less from docker (#5) 4 个月前
docker-compose.yml Add a docker dev setup (#3) 5 个月前 Replace /bin/bash with /usr/bin/env bash (#4) 4 个月前 Link instead of copy static files 4 个月前
lighttpd-fsfe.conf.sample fix paths 10 个月前 adding option to use python simplehttp webserver module which doesn't require users to install lighttpd 2 年前

FSFE Website Local Build

This is a collection of scripts, tools and configuration files necessary to build websites locally.

Full instructions can be found in FSFE’s wiki:

Docker based development environment

For convenience local development you may want to use the docker contaienr provided by this repo.

The container contains everything you need to work on the website including serving a preview, building the static pages and the CSS files.


Website Dev Instructions

Initial set up

Just run the following command for the initial setup:


⚠ The command may run some hours, since it does the initial full build of the website.


Spin up the container (⚠ takes some minutes):

docker-compose up

The website should now be available on your machine under

Build a single page after changes (e.g.

docker exec \
    --workdir /fsfe-local-build/ \
    fsfe-local-build \
    bash ../ ../fsfe-website/

Style modifications in fsfe-website/look trigger a re build of the styles. After modifications a page reload shoud show the changes.