We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3963cf commit 27f740bCopy full SHA for 27f740b
1 file changed
{{cookiecutter.project_name}}/dev.py
@@ -18,12 +18,12 @@
18
19
if __name__ == "__main__":
20
os.environ["APP_ENV"] = "dev"
21
- port = int(os.environ.get("APP_PORT", 8000))
+ port = int(os.environ.get("APP_PORT", 44777))
22
23
console = Console()
24
console.rule("[bold yellow]Running for local development", align="left")
25
{%- if cookiecutter.use_openapi %}
26
- console.print("[bold yellow]Visit http://localhost:8000/docs")
+ console.print(f"[bold yellow]Visit http://localhost:{port}/docs")
27
{%- endif %}
28
29
uvicorn.run(
0 commit comments