Skip to content

BZFlag-Dev/bzflag.org

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

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

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

Fetching assets

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

./fetch-assets.sh

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