games:quake:setup_a_local_quakejs_server:setup_a_local_content_server
This is an old revision of the document!
Table of Contents
Games - Quake - Setup a local QuakeJS server - Setup a Local Content Server
Setup a webserver to host the content
sudo apt install apache2 jq
NOTE: jq is installed to help with downloading assets.
Change directory to the web files
cd /var/www/html/
Delete the default index.html that comes with Apache2
sudo rm /var/www/html/index.html
Copy the Local Content Server and Play Page files to the Website
Copy the Local Content Server and Play Page files from the quakejs directory to /var/www/html:
sudo cp /home/quake/quakejs/html/* /var/www/html/
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.
- Technically these were already downloaded a couple of the files earlier but they are not named quite right.
- Therefore download everything from the “official” content server in one go to simplify things.
sudo bash /var/www/html/get_assets.sh
NOTE: This will put all of the asset files in /var/www/html/assets.
games/quake/setup_a_local_quakejs_server/setup_a_local_content_server.1625484032.txt.gz · Last modified: 2021/07/05 11:20 by peter