Fix tests from dry run.

This commit is contained in:
Condorra 2024-11-16 23:42:44 +11:00
parent 148ec42c73
commit 137d900c71

View File

@ -81,7 +81,7 @@ banner_to_mud = ""
# MUD. It is sent to the browser and run there. # MUD. It is sent to the browser and run there.
startup_script_file = "/config/mymud.lua" startup_script_file = "/config/mymud.lua"
# This should at least include your hostname. You can use * as a wildcard. # 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 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`: Create an empty Lua script, matching `startup_script_file`:
`touch /etc/worldwideportal/mymud.lua` `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 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). 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: 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). (adjust the 443 to whatever port you are listening on if you want to require a port number).