Answers to common questions and troubleshooting steps for setting up and developing Lux.
Yes, Docker is required for running and validating script-based puzzles in an isolated environment. However, exploring the web UI (/web) and CLI hint interactions can run without Docker.
Ollama is required for generating contextual hints in the interactive agent. If Ollama is not running locally, hint requests will return an error, but the rest of the application and validation remain operational.
By default, the CLI agent persists solved levels and achievements to ~/.lux/state.json. You can customize or override this location by setting the LUX_STATE environment variable (for example, export LUX_STATE=/tmp/lux-state.json).
Port 5050 is already bound by another running process. You can terminate the existing process or run the server on a different port.
Run pytest followed by the specific test path, for example:
pytest tests/test_web_api.pyThe repository enforces code style and formatting standards via pre-commit hooks. Check .pre-commit-config.yaml and run pre-commit locally before pushing:
pre-commit run --all-files