-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLDR-17803 site: interim docker local build
- add a README and a way to preview local sites pages
- Loading branch information
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FROM jekyll/jekyll | ||
RUN gem install bundler github-pages kramdown-parser-gfm webrick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Previewing locally | ||
|
||
1. install https://docker.io | ||
2. `docker compose up` | ||
3. visit <http://127.0.0.1:4000> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
services: | ||
site: | ||
build: . | ||
command: jekyll serve -s /src -d /tmp -p 4000 --watch | ||
ports: | ||
- 4000:4000 | ||
volumes: | ||
- ../../../../docs:/src | ||
environment: | ||
- PAGES_REPO_NWO=unicode-org/cldr |