Update tech_docs/mkdocs-setup.md

This commit is contained in:
2024-05-23 16:23:57 +00:00
parent e99d13e570
commit 9e548d1fd2

View File

@@ -20,7 +20,6 @@ sudo lsof -i :8050 # For Dash
sudo kill -9 <PID> sudo kill -9 <PID>
``` ```
--- ---
1. **Ensure your directory structure is correct**: 1. **Ensure your directory structure is correct**:
@@ -45,4 +44,11 @@ my-mkdocs-site/
- **Dash App**: Open `http://127.0.0.1:8050/` in your browser to see the Dash app with the dark theme. - **Dash App**: Open `http://127.0.0.1:8050/` in your browser to see the Dash app with the dark theme.
- **MkDocs Site**: Open `http://127.0.0.1:8000/` in your browser to see the MkDocs site with the embedded Dash app. - **MkDocs Site**: Open `http://127.0.0.1:8000/` in your browser to see the MkDocs site with the embedded Dash app.
These steps should help you resolve the issues and get both the MkDocs and Dash applications running smoothly. Let me know if you need any further assistance! ---
```bash
#!/bin/bash
# run_servers.sh
mkdocs serve -a 192.168.2.219:8000 &
python dash_app/app.py
```