added vscode to gitignore
1 file changed
tree: 90aabed1816158fde106cc0fa0f9bb7ec9cd8e9a
  1. _data/
  2. _includes/
  3. _layouts/
  4. _posts/
  5. blog/
  6. css/
  7. doaps/
  8. img/
  9. js/
  10. security/
  11. .asf.yaml
  12. .gitignore
  13. _config.yml
  14. charter.md
  15. Dockerfile
  16. dormant.md
  17. Gemfile
  18. guidelines.md
  19. index.html
  20. mailing-lists.md
  21. README.md
  22. run-docker-build.sh
  23. run-jekyll.sh
  24. security.md
  25. support.adoc
  26. team-list.adoc
  27. what-is-logging.md
README.md

The Apache Software Foundation - Logging Website

This is the source code for the website at logging.apache.org.

Develop this website

To develop content for this website, you need to make sure you have Docker installed. Once installed, you can run this command to create a docker image:

$> cd <your project folder>
$> docker build -t apache/logging_site .

or run: ./run-docker-build.sh

Whenever you change something in the Dockers dependencies, you have to recreate the docker image.

Afterwards you are able to run the website.

To run the website in serve mode (running a server to quickly check your code) you'll have to run this command:

docker run --rm -p 4000:4000 --mount type=bind,src=$PWD,dst=/root/build --mount type=volume,dst=/root/build/node_modules -it apache/logging_site serve --watch --incremental

or run: ./run-jekyll.sh

Once it runs, you can reach your website at:

http://localhost:4000/

Jekyll will regenerate content as you change it and you can see all changes with hitting refresh.

If you find it necessary to connect to your Docker instance while working, you can run and connect to it with this command:

docker run --rm -p 4000:4000 --mount type=bind,src=$PWD,dst=/root/build --mount type=volume,dst=/root/build/node_modules -it  --entrypoint "/bin/bash" apache/logging_site