Link to Engine installation documentation (#184)
# PR Description: If someone tries to run `arcade dev` without the Engine installed they get the following: 
This commit is contained in:
parent
ab889f9f1d
commit
0ad8dc6e5e
1 changed files with 12 additions and 6 deletions
|
|
@ -155,18 +155,24 @@ def _get_config_file(
|
||||||
if optional:
|
if optional:
|
||||||
console.print(
|
console.print(
|
||||||
f"⚠️ Optional config file '{default_filename}' not found in either of the default locations: "
|
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" 1) Current working directory: {Path.cwd() / default_filename}, or "
|
||||||
f"2) user's home directory: {Path.home() / '.arcade' / default_filename}.",
|
f" 2) User's home directory: {Path.home() / '.arcade' / default_filename}.",
|
||||||
style="bold yellow",
|
style="bold yellow",
|
||||||
)
|
)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
console.print(
|
console.print(
|
||||||
f"❌ Config file '{default_filename}' not found in any of the default locations: "
|
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 "
|
f" 1) Current working directory: {Path.cwd() / default_filename}, or\n"
|
||||||
f"2) user's home directory: {Path.home() / '.arcade' / default_filename}.",
|
f" 2) User's home directory: {Path.home() / '.arcade' / default_filename}\n",
|
||||||
style="bold red",
|
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.")
|
raise RuntimeError(f"Config file '{default_filename}' not found.")
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue