Code Monkey home page Code Monkey logo

incubator's Introduction

Apache Incubator Website

This is the content and build scripts for http://incubator.apache.org/

Contributing to the website content

You can fork from https://github.com/apache/incubator, test your changes as described below and raise a pull request.

Use the [email protected] mailing list to contact the Incubator PMC which manages this website.

Automated publishing - Website and Clutch data

Commits to the master branch are automatically checked out and built using build_site.sh by the Incubator GIT Site - part 2 Jenkins job. The results are pushed to the content folder of the asf-site branch which is in turn published automatically to http://incubator.apache.org/ by the ASF's gitwcsub mechanism.

The data for http://incubator.apache.org/clutch/ takes longer to build so it is handled by a separate SVN Clutch Analysis - part 1 Jenkins job that runs the build_clutch.sh script that's scheduled to run daily and is also triggered by svn changes using the Trigger-Clutch-Analysis-on-SVN-Change Jenkins job. The results are stored in the reserve folder of the asf-site branch

For now that Clutch data is still managed in svn, at http://svn.apache.org/repos/asf/incubator/public/trunk/ , see the build scripts for more info. The projects folder (podling status pages) and the ip-clearance folders are also still in svn and the html is built using ant docs in the build_clutch.sh script.

Any build failures are reported to [email protected] mailing list.

Prerequisites for building the website locally

The website is built using JBake and Groovy templates. The builds for the website do require internet access.

  • Install JBake from http://jbake.org/download.html
    • Currently it looks like version 2.6.0 or greater is required.
  • Create an environment variable JBAKE_HOME pointing to your JBake installation, e.g.
    • export JBAKE_HOME=/usr/local/Cellar/jbake/2.6.4
  • Ensure that you have a JVM locally, e.g. OpenJDK

Building & testing the site locally

To test the site locally, use

./build_local.sh -b -s

This builds the site, serves it locally at http://localhost:8820/ and rebuilds the content fairly quickly if any changes are made.

That script can be called with any of the arguments you would pass to jbake.

Building the Clutch and Legacy SVN Content (if you know what you're doing)

Warning do not run the clutch build scripts unless you are sure you understand them, and please be careful not to commit any of the resulting assets and pages to the git master branch. That content and data is only committed to the asf-site branch's reservefolder as mentioned below.

The build_local_clutch.sh script can be used to build the Clutch data, but that's updated automatically by the Jenkins builds as build_clutch.sh mentioned below so it's not required unless you want to test that.

Asciidoctor

Most of the pages in the site are written using Asciidoctor. While it is a form of asciidoc it does have some syntax differences that are worth reviewing

Groovy Templates

The site templates are written in groovy scripts. Even though the files end with .gsp they are not GSP files and do not have access to tag libraries. You can run custom code in them, similar to what is done in homepage.gsp and projectspage.gsp.

Clutch data files

In addition to the clutch pages several data files are provided:

incubator's People

Contributors

bdelacretaz avatar calvinkirs avatar cottage14 avatar dave2wave avatar duoyu119 avatar ebarboni avatar empeje avatar gmcdonald avatar grobmeier avatar jackie-jiang avatar jfclere avatar johnament avatar justinmclean avatar lresende avatar markt-asf avatar myrle-krantz avatar nicknezis avatar ottlinger avatar pepperjo avatar pjfanning avatar psudaemon avatar richsalz avatar rlenferink avatar sebbasf avatar shanecurcuru avatar sharanf avatar sunjincheng121 avatar tuohai666 avatar willemjiang avatar xuanwo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.