Skip to content

Commit

Permalink
enable dev site from container
Browse files Browse the repository at this point in the history
  • Loading branch information
tclavier committed Nov 22, 2023
1 parent f6e4f96 commit 2e6f0de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,18 @@ Then, run the Docker container:
$ docker run --rm -it \
-u $(id -u):$(id -g) \
-v $(pwd):/workspace \
-p 7998:7998 \
fa-builder

Within the container, build the font:

$ npm ci
$ make -C src/icons

Build the web documentation and serve it on a local server on http://localhost:7998:

$ npm run dev

<!--- reference links for badges -->

[all-contrib]: https://img.shields.io/badge/all_contributors-128-orange.svg "All Contributors badge"
Expand Down
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
safe: false
port: 7998
url: http://localhost:7998
host: 0.0.0.0
url: http://0.0.0.0:7998

source: src/doc/
destination: _site
Expand Down

0 comments on commit 2e6f0de

Please sign in to comment.