Browse Source

enable dev site from container

pull/295/merge
Thomas Clavier 1 year ago
parent
commit
2e6f0de631
No known key found for this signature in database
GPG Key ID: 20CCE23E53E6E41A
  1. 5
      README.md
  2. 3
      _config.yml

5
README.md

@ -101,6 +101,7 @@ 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:
@ -108,6 +109,10 @@ 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"

3
_config.yml

@ -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

Loading…
Cancel
Save