Skip to content

Commit e7bf046

Browse files
authored
Merge pull request #314 from tokk-nv/main
VLLM Workshop Tutorial added (for GTC DC)
2 parents 7f4fdd5 + 693002f commit e7bf046

File tree

5 files changed

+1205
-5
lines changed

5 files changed

+1205
-5
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
image: python:latest
2+
23
pages:
34
stage: deploy
45
only:
5-
- master
6+
- master
67
- main
78
script:
89
- pip install mkdocs-material
10+
- pip install mkdocs-redirects
911
- mkdocs build --site-dir public
1012
artifacts:
1113
paths:
1214
- public
1315
tags:
14-
- pages
16+
- pages

README.md

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ The auto generated documentation is hosted on the following, using their CI/CD f
1111

1212
## How to use this repo locally
1313

14-
### MkDocs: Initial setup
14+
### Option 1: Docker Setup (Linux systems with Docker)
15+
16+
#### Initial setup
1517

1618
https://squidfunk.github.io/mkdocs-material/getting-started/
1719

@@ -20,12 +22,39 @@ sudo apt install -y docker.io
2022
sudo docker pull squidfunk/mkdocs-material
2123
```
2224

23-
### Mkdocs: Start development server on http://localhost:8000
25+
#### Start development server on http://localhost:8000
2426

2527
```bash
2628
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
2729
```
2830

31+
### Option 2: Native Python Setup (Recommended for Windows)
32+
33+
#### Initial setup
34+
35+
1. **Install Python 3.8+ and pip** (if not already installed):
36+
- Windows: Download from [python.org](https://www.python.org/downloads/) or use Microsoft Store
37+
38+
2. **Install MkDocs Material and dependencies**:
39+
```bash
40+
pip install mkdocs-material
41+
pip install mkdocs-redirects
42+
pip install beautifulsoup4
43+
pip install lxml
44+
```
45+
46+
#### Start development server on http://localhost:8000
47+
48+
```bash
49+
mkdocs serve
50+
```
51+
52+
#### Build the site
53+
54+
```bash
55+
mkdocs build
56+
```
57+
2958
### Test the post-processing
3059

3160
```bash
@@ -39,6 +68,19 @@ livereload ./site_postprocessed
3968

4069
## Troubleshooting
4170

42-
> If you get "docker: Got permission denied while trying to connect to the Docker daemon socket at ..." error,
71+
### Native Python Setup Issues
72+
73+
**Windows:**
74+
- If `mkdocs` command is not found, ensure Python Scripts directory is in your PATH
75+
- Use `python -m mkdocs serve` if the direct command doesn't work
76+
- For corporate networks, you may need to use pip with proxy: `pip install --proxy http://proxy:port package-name`
77+
78+
**Jetson:**
79+
- If you get permission errors, use `pip install --user` to install packages locally
80+
- Ensure you have sufficient disk space for the Python packages
81+
82+
### Docker Setup Issues
83+
84+
> If you get "docker: Got permission denied while trying to connect to the Docker daemon socket at ..." error,
4385
> issue `sudo usermod -aG docker $USER; newgrp docker` to get around with the issue.
4486
105 KB
Loading

0 commit comments

Comments
 (0)