Skip to content

BZFlag-Dev/bzflag.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5f7bf1c · Feb 26, 2025
Aug 4, 2020
Feb 3, 2023
Feb 25, 2025
Feb 25, 2025
Sep 11, 2024
Mar 27, 2022
Aug 16, 2023
Feb 24, 2019
Apr 4, 2019
Feb 26, 2025
Feb 3, 2023
May 31, 2019
Feb 25, 2025
Nov 16, 2024
Nov 16, 2024
Feb 18, 2018
Jan 5, 2019
Nov 16, 2024
Jan 4, 2019
Aug 10, 2020
Feb 8, 2017
Nov 16, 2024
Jan 4, 2022

Repository files navigation

BZFlag.org Main Website

The stakx source files used to build the static BZFlag.org website.

Building the site

This website is built with stakx 0.2.x and typically makes use of the latest development features.

git clone https://github.com/BZFlag-Dev/bzflag.org
cd bzflag.org

# Copy privacy.yaml.example to privacy.yaml and optionally do the same for matomo.yaml, then edit the contents of the
# copies.
cp _data/privacy.yaml.example _data/privacy.yaml
cp _data/matomo.yaml.example _data/matomo.yaml

# We host some additional assets, such as videos, outside the Git repository. To fetch those, run:
php fetch-assets.php

# Build for production
./path/to/stakx build

# Build for development
./path/to/stakx build -c _config-dev.yml

Web Server Configuration

The web server needs to be configured to:

  • serve motd.txt as motd.php

Apache

Replace /var/www/whatever/ with the actual webroot of the site.

# BZFlag requests motd.php, so make an alias
Alias /motd.php /var/www/whatever/motd.txt