Files
the_information_nexus/tech_docs/mkdocs-setup.md
2024-05-23 16:18:54 +00:00

48 lines
977 B
Markdown

## MkDocs Project
```bash
source venv/bin/activate
```
```bash
deactivate
```
```bash
sudo lsof -i :8000 # For MkDocs
```
```bash
sudo lsof -i :8050 # For Dash
```
```bash
sudo kill -9 <PID>
```
---
1. **Ensure your directory structure is correct**:
```markdown
my-mkdocs-site/
├── dash_app/
│ └── app.py
├── docs/
│ ├── assets/
│ │ └── logo.png
│ ├── css/
│ │ └── custom.css
│ ├── index.md
│ ├── about.md
│ └── contact.md
└── mkdocs.yml
```
2. **Access Both Applications**
- **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.
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!