Link to Engine installation documentation (#184)

# PR Description:
If someone tries to run `arcade dev` without the Engine installed they
get the following:


![image](https://github.com/user-attachments/assets/bc4063bb-3fb1-471c-a9bc-77f73a660308)
This commit is contained in:
Eric Gustin 2024-12-24 10:19:58 -08:00 committed by GitHub
parent ab889f9f1d
commit 0ad8dc6e5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -154,19 +154,25 @@ def _get_config_file(
if optional:
console.print(
f"⚠️ Optional config file '{default_filename}' not found in either of the default locations: "
f"1) current working directory: {Path.cwd() / default_filename}, or "
f"2) user's home directory: {Path.home() / '.arcade' / default_filename}.",
f"⚠️ Optional config file '{default_filename}' not found in either of the default locations: "
f" 1) Current working directory: {Path.cwd() / default_filename}, or "
f" 2) User's home directory: {Path.home() / '.arcade' / default_filename}.",
style="bold yellow",
)
return None
console.print(
f"Config file '{default_filename}' not found in any of the default locations: "
f"1) current working directory: {Path.cwd() / default_filename}, or "
f"2) user's home directory: {Path.home() / '.arcade' / default_filename}.",
f"Error: Required config file '{default_filename}' not found in any of the default locations:\n"
f" 1) Current working directory: {Path.cwd() / default_filename}, or\n"
f" 2) User's home directory: {Path.home() / '.arcade' / default_filename}\n",
style="bold red",
)
console.print(
"TIP: Please install the Arcade Engine by following the instructions at:\n"
" https://docs.arcade-ai.com/home/install/local#install-the-engine\n",
style="bold green",
)
raise RuntimeError(f"Config file '{default_filename}' not found.")