Enable livereload and adapt the doc accordingly
All checks were successful
Jekyll / jekyll (pull_request) Successful in 46s
Jekyll cleanup / jekyll_cleanup (pull_request) Successful in 15s

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
bEn 2025-05-02 09:55:17 +02:00
parent ea38125cd7
commit 74bf4ce377
3 changed files with 4 additions and 4 deletions

View File

@ -7,17 +7,16 @@ It gives guidance on getting started for end-users, developers building with Tah
## Building ## Building
This web page is built and deployed by CI. This web page is built and deployed by CI. A preview is also automaticaly genereated for PRs made from branches local to this repository (require push/write permission).
If you want to pre-view your changes on your local machine before pushing commits, you might want to start a development server. If you want to pre-view your changes on your local machine before pushing commits, you might want to start a development server.
Issuing this command on a system with Docker runs a web server on http://localhost:4000/ that re-builds the page automatically on source file change: Issuing this command on a system with Docker runs a web server on http://localhost:4000/ that re-builds and refresh the page automatically on source file change:
```sh ```sh
docker-compose up docker-compose up
``` ```
## Contributing ## Contributing
We welcome contributions! Easiest is to open tickets or pull requests directly. If unsure, join the IRC or ask on the Tahoe-LAFS developer mailing list. We welcome contributions! Easiest is to open tickets or pull requests directly. If unsure, join the IRC or ask on the Tahoe-LAFS developer mailing list.

View File

@ -13,6 +13,7 @@ services:
working_dir: /appdata working_dir: /appdata
ports: ports:
- "4000:4000" - "4000:4000"
- "35729:35729"
stdin_open: true stdin_open: true
tty: true tty: true
hostname: jekyll.local hostname: jekyll.local

View File

@ -40,4 +40,4 @@ RUN echo "gem: --no-document --user-install --bindir /home/${user}/bin" >> /home
ENV PATH=/home/${user}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ENV PATH=/home/${user}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENTRYPOINT ["jekyll"] ENTRYPOINT ["jekyll"]
CMD ["server", "--verbose", "--host", "0.0.0.0", "--incremental"] CMD ["server", "--verbose", "--host", "0.0.0.0", "--incremental", "--livereload"]