Giter Club home page Giter Club logo

www-site's Introduction

Apache Foundation Website (www.apache.org)

We are now in production

This repository provides the source for the main website of The Apache Software Foundation.

Linking to Markdown (.md) sources

Markdown (.md) files appear in the preview pane of the editor approximately as they will appear in the generated website. This is convenient for reviewing changes, but means that linking to the source requires a bit more work compared with other files. If you want to create a permalink or raise an issue that relates to a particular Markdown source line, proceed as follows:

Documentation

Read the Getting started guide and the pages it links to.

Notes

The website is built with Pelican.

The infrastructure-pelican Dockerfile can be used to build the website locally, for testing.

Continuous Integration / Continuous Deployment (CI/CD) is via the .asf.yaml file mechanism which runs Buildbot.

The svn history was not migrated and remains available.

Foundation records, including minutes of Board meetings, remain in svn, except for the index page.

Also the board calendar - calendar.md is maintained in SVN by Whimsy. It is copied into content/foundation/board at the start of each build by the get_calendar.sh script which is initiated by a setup entry in pelicanconf.yaml Changes to the file do not automatically trigger a build, but the file changes rarely (about once a month) and there are regular builds which will pick up changes within an hour or so.

Local development and testing

If you wish to update and test the site locally, there is a Docker build script you can use. You will also need Git, and familiarity with working in a command-line shell. [The following instructions should work for Unix and macOS, but will need adjustment for Windows.]

  • install Docker
  • change to a suitable directory
  • get the Infra Pelican setup: git clone https://github.com/apache/infrastructure-pelican
  • change to the checkout: cd infrastructure-pelican
  • build the container: docker build -t pelican-asf. This will take a while the first time.
  • change to a suitable directory
  • get the ASF website source: git clone https://github.com/apache/www-site
  • change to the website checkout: cd www-site
  • Create a dummy authorisation file: touch .authtokens
  • Start the continuous builder: docker run -it -p8000:8000 -v $PWD:/site pelican-asf
  • this will generate a lot of output, but will eventually stop.
  • browse to http://localhost:8000/

If you make changes to the local copy of www-site, these will be automatically built, and should appear in the browser when the page is refreshed.

www-site's People

Contributors

aajisaka avatar anshumg avatar bdelacretaz avatar bobpaulin avatar clr-apache avatar cnauroth avatar cottage14 avatar dave2wave avatar djencks avatar druggeri avatar fredster33 avatar gmcdonald avatar grobmeier avatar gstein avatar humbedooh avatar iamamoose avatar isudana avatar juzhiyuan avatar jzb avatar ke4qqq avatar kennethpaskett avatar kezhenxu94 avatar martin-g avatar myrle-krantz avatar olleolleolle avatar royfielding avatar rubys avatar sebbasf avatar tisonkun avatar yangwwei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.