Skip to content

Commit 614c1ca

Browse files
authored
Update README.md
1 parent 0cf054c commit 614c1ca

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,18 @@
33
This repository is for the US CMS Software & Computing website.
44

55
Changes can be made by performing a pull request from this repository.
6+
7+
# Testing pages locally
8+
9+
You can test your changes out using the Jekyll docker image:
10+
```bash
11+
docker run --rm -it \
12+
--volume="$PWD:/srv/jekyll" \
13+
-p 4000:4000 \
14+
jekyll/builder:stable jekyll serve --incremental
15+
```
16+
*Note* - you need to run the command from the top-level of your local repo.
17+
18+
This will mount your checked out copy of this repo, then build and start the
19+
jekyll server mapping it to port 4000 on your computer. You can make changes
20+
locally and view them at http://localhost:4000

0 commit comments

Comments
 (0)