Web site for Apache Data Privacy

Clone this repo:
  1. 8dfcda9 Update YouTube examples to reflect the new mechanism of modifying the CSP provided by Infra by Niall Pemberton · 4 months ago main
  2. 570875b Amend the CSP rather than replace it (#49) by Niall Pemberton · 5 months ago
  3. c5fef34 Merge pull request #48 from sebbASF/edithtaccess by Niall Pemberton · 5 months ago
  4. ac0bd54 Allow access to analytics.apache.org by Sebb · 5 months ago
  5. 016c05e new canned response by Christian Grobmeier · 7 months ago

The Apache Software Foundation - Privacy Website

This is the source code for the website at privacy.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/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