Skip to content

Commit 0d49f16

Browse files
committed
Recommend running http.server on port 8008
1 parent 2e5c252 commit 0d49f16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shiny/_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def create(appdir: str) -> None:
361361
362362
After writing the output files, you can serve them locally with the following command:
363363
364-
python3 -m http.server --directory DESTDIR 8000
364+
python3 -m http.server --directory DESTDIR 8008
365365
"""
366366
)
367367
@click.argument("appdir", type=str)

shiny/_static.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def verbose_print(*args: object) -> None:
167167
print(":", app_json_output_file.stat().st_size, "bytes")
168168

169169
print(
170-
f"\nRun the following to serve the app:\n python3 -m http.server --directory {destdir} 8000"
170+
f"\nRun the following to serve the app:\n python3 -m http.server --directory {destdir} 8008"
171171
)
172172

173173

0 commit comments

Comments
 (0)