From 137d900c71998e1dc0722f137d44d95216cf3c95 Mon Sep 17 00:00:00 2001 From: Condorra Date: Sat, 16 Nov 2024 23:42:44 +1100 Subject: [PATCH] Fix tests from dry run. --- worldwideportal-static/content/docs/setup-guide.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/worldwideportal-static/content/docs/setup-guide.md b/worldwideportal-static/content/docs/setup-guide.md index 37cbb60..169127a 100644 --- a/worldwideportal-static/content/docs/setup-guide.md +++ b/worldwideportal-static/content/docs/setup-guide.md @@ -81,7 +81,7 @@ banner_to_mud = "" # MUD. It is sent to the browser and run there. startup_script_file = "/config/mymud.lua" # This should at least include your hostname. You can use * as a wildcard. -allowed_origins = ["your-mud-hostname.org"] +allowed_origins = ["https://your-mud-hostname.org"] ``` Edit the file, following the instructions in the comments (lines starting with `#`) to customise it for @@ -91,6 +91,8 @@ working right - only change to production when you have staging working. Create an empty Lua script, matching `startup_script_file`: `touch /etc/worldwideportal/mymud.lua` +Make sure you allow forwarding to the relevant ports through the firewall (if you have one turned on). This will vary by distribution. If using ufw, try: `sudo ufw default allow routed` + Set up DNS with your DNS provider (if you haven't already) to make the domain name point to your system (i.e. create A/AAAA records). @@ -110,7 +112,7 @@ As a final step to podman setup, to make sure your container restarts on system Create a container to run your MUD with Docker use a line like this: -`sudo podman run --name worldwideportal --restart=always -v /etc/worldwideportal:/config -p 80:80 -p 443:443 quay.io/blasthavers/worldwideportal:latest /config/worldwideportal.toml` +`sudo podman run -d --name worldwideportal --restart=always -v /etc/worldwideportal:/config -p 80:80 -p 443:443 quay.io/blasthavers/worldwideportal:latest /config/worldwideportal.toml` (adjust the 443 to whatever port you are listening on if you want to require a port number).