Setup a webserver to host the content.
sudo apt install apache2 jq
NOTE: jq is installed to help with downloading assets.
cd /var/www/html/
sudo rm /var/www/html/index.html
Copy the Local Content Server and Play Page files from the quakejs directory to /var/www/html:
sudo cp ~/quakejs/html/* /var/www/html/
Edit the /etc/www/html/index.html file, and adjust the follow line near the bottom of the file.
var args = ['+set', 'fs_cdn', '192.168.1.136:80', '+connect', '192.168.1.136:27960'];
NOTE: The 192.168.1.136 is the IP of the quake server.
sudo systemctl restart apache2.service
NOTE: Run the get_assets.sh script to grab all of the assets from http://content.quakejs.com and put them where they can be accessed by clients.
sudo bash /var/www/html/get_assets.sh
NOTE: This will put all of the asset files into /var/www/html/assets.
Continue Create a QuakeJS service