This readme will walk you through building the Submarine website
master branch of the submarine is used to manage the website source code. Every time you modify the website, you need to submit it to the
master branch for saving.
asf-site branch is used for the static page branch of the website. Every time you modify the website, you need to save the latest generated static page here. https://submarine.apache.org will be updated automatically.
git clone https://github.com/apache/submarine-site.git git checkout master docker run -it -p 4000:4000 -v $PWD/submarine-site:/submarine-site hadoopsubmarine/submarine-website:1.0.0 bash cd /submarine-site bundle exec jekyll serve --watch --host=0.0.0.0
The static page of the website will be generated in the
view submarine website in local: http://localhost:4000/
rake page name="new-page.md"
masterbranch to github repo.
_sitedirectory to the other backup path, e.g.,
asf-sitebranch, clear all the contents of the directory, copy the contents of the
back_sitedirectory to the this directory, and submit the
asf-sitebranch to github repo.