tree: 08482701891a145e81c0f498280a24a50487115c [path history] [tgz]
  1. _data/
  2. _docs/
  3. _includes/
  4. _layouts/
  5. _posts/
  6. _sass/
  7. api/
  8. css/
  9. develop/
  10. fonts/
  11. help/
  12. img/
  13. js/
  14. news/
  15. security/
  16. specification/
  17. talks/
  18. .dockerignore
  19. .gitignore
  20. .htaccess
  21. _config.yml
  22. doap_orc.rdf
  23. Dockerfile
  24. favicon.ico
  25. Gemfile
  26. index.html
  27. README.md
site/README.md

Apache ORC docs site

This directory contains the code for the Apache ORC web site, orc.apache.org. The easiest way to build the site is to use docker to use a standard environment.

Setup

  1. cd site
  2. git clone https://gitbox.apache.org/repos/asf/orc.git -b asf-site target

Run the docker container with the preview of the site.

  1. docker build -t orc-site .
  2. docker run -d -p 4000:4000 orc-site

Browsing

Look at the site by navigating to http://0.0.0.0:4000/ .

Pushing to site

You'll copy the files from the container to the site/target directory and commit those to the asf-site branch.

  1. Find the name of the container using docker ps.
  2. docker cp $CONTAINER:/home/orc/site/target .
  3. cd target
  4. Commit the files and push to Apache.

Shutting down the docker container

  1. docker stop $CONTAINER