This is an automated email from the ASF dual-hosted git repository. gerben pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git
commit 2b1df64e20d5c17140c5b5c3ec521f0d9dc08b5b Author: Gerben <[email protected]> AuthorDate: Thu Apr 16 16:58:46 2020 +0200 Add instructions for rebuilding the demo --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3deff0d..0155d61 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ Currently, `master` and `asf-site` should be kept in sync. The `asf-site` branch gets published to an Apache HTTPD static hosting environment run by the Apache infrastructure team. +To update the demo, update the submodule (`git submodule update --remote`), rebuild (`yarn build`; in this repo, not inside the submodule), and commit the changes it made in `content/`. + ## Developing ##### Requirements @@ -20,7 +22,7 @@ the Apache infrastructure team. This website repository contains the main project repository as a git submodule, in order to build its demo without duplicating the code. -Run `git submodule init && git submodule update` to pull in the submodule. +Run `git submodule init && git submodule update --remote` to pull in the submodule. Run `yarn install` to install development dependencies.
