mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-25 13:01:31 +08:00
enable dev site from container
This commit is contained in:
parent
f6e4f96ccd
commit
2e6f0de631
@ -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"
|
||||
|
@ -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…
Reference in New Issue
Block a user