JAMES-2306 Document update of the current site
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/ac0f4a5a Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/ac0f4a5a Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/ac0f4a5a Branch: refs/heads/master Commit: ac0f4a5a29ace4184f82cfd9819a9c6316c5e34d Parents: e28aa14 Author: Raphael Ouazana <[email protected]> Authored: Fri Jan 26 17:23:34 2018 +0100 Committer: benwa <[email protected]> Committed: Tue Jan 30 08:58:35 2018 +0700 ---------------------------------------------------------------------- README.adoc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/ac0f4a5a/README.adoc ---------------------------------------------------------------------- diff --git a/README.adoc b/README.adoc index 114b218..6426eab 100644 --- a/README.adoc +++ b/README.adoc @@ -101,12 +101,31 @@ http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external You can alternatively use a docker container to build the website : You need to build the homepage by: + $ docker build -t james/homepage dockerfiles/site/homepage $ docker run -v $PWD:/origin -v $PWD/site:/destination james/homepage master + Then you build the other pages by: + $ docker build -t james/site dockerfiles/site/website $ docker run -v $PWD/.m2:/root/.m2 -v $PWD:/origin -v $PWD/site:/destination james/site master +If you need to update the current site, checkout the branch asf-site from Apache git: + + $ git clone https://git-wip-us.apache.org/repos/asf/james-site.git + $ cd james-site + $ git checkout origin/asf-site -b asf-site + +And replace in the previous commands `$PWD/site` by `<james-site-clone-directory>/content`, for example: + + $ docker run -v $PWD:/origin -v $PWD/../james-site/content:/destination james/homepage master + $ docker run -v $PWD/.m2:/root/.m2 -v $PWD/../james-site/content:/origin -v $PWD/site:/destination james/site master + +Then just push the new site: + + $ cd ../james-site + $ git push origin asf-site + == How to release via maven release plugin See details on http://www.apache.org/dev/publishing-maven-artifacts.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
