This project provides a lobby to collect yaml files from players to be able to host archipelagoes easily.
export DATABASE_URL="sqlite:///path/to/your/db.sqlite"
export ADMIN_TOKEN="theadmintoken"
cargo run
If you want to run this in a production environment, make sure to set the following too:
ROCKET_ENV=production
ROCKET_SECRET_KEY="yoursecretkeyhere" # openssl rand -base64 32
To configure the discord oauth, create a Rocket.toml
file in the same directory as the binary and include the following content:
[default.oauth.discord]
provider = "Discord"
client_id="<your_client_id>"
client_secret="<your_client_secret>"
redirect_uri="http://127.0.0.1:8000/auth/oauth" # Switch this to your redirect URI
admins = [<discord_id_of_admin>, ...]
When uploading a YAML to a lobby, you can opt-in to validate YAMLs. It will use
this service, https://github.com/Eijebong/Archipelago-yaml-checker, just point YAML_VALIDATOR_URL
to it.
export YAML_VALIDATOR_URL="http://127.0.0.1:5000/check_yaml"