commit | 6c185935db7a8554e51ff986b42da984c85402bf | [log] [tgz] |
---|---|---|
author | Arnout Engelen <arnout@bzzt.net> | Tue Feb 27 09:54:56 2024 +0100 |
committer | Arnout Engelen <arnout@bzzt.net> | Tue Feb 27 16:51:47 2024 +0100 |
tree | 70a906271f597d01031c0f9719fa20ecfcb1fafe | |
parent | 0509b5a6872c663ee99a92cb3383160964ae39f2 [diff] |
website policy: use 'visitor' instead of 'user' To make it clearer which 'user' is meant - specifically, in the case of YouTube, this is about the visitor and not the creator of the video, which seems to have been changed accidentally in https://github.com/apache/privacy-website/pull/16/files#diff-bfd3b22622636c79ce11d59c7518b18c6a8603c9a3b0b543d694252e9cf5a00dR39
This is the source code for the website at privacy.apache.org.
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/privacy_apache_org .
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/privacy_apache_org serve --watch --incremental
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/privacy_apache_org