This is an automated email from the ASF dual-hosted git repository.

nwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


The following commit(s) were added to refs/heads/master by this push:
     new b82e79c  Updating website for installtion of Heron to system (#3258)
b82e79c is described below

commit b82e79c4b400b89ee6a695d1a16a7cc0b18518a2
Author: Windham Wong <[email protected]>
AuthorDate: Wed May 22 00:25:06 2019 +0800

    Updating website for installtion of Heron to system (#3258)
    
    * Update compiling.md
    
    Adding the instruction of installing Heron into the system.
    
    * Update compiling.md
    
    Adding params for installation script
---
 website/content/docs/developers/compiling/compiling.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/website/content/docs/developers/compiling/compiling.md 
b/website/content/docs/developers/compiling/compiling.md
index c585326..3d5cf28 100644
--- a/website/content/docs/developers/compiling/compiling.md
+++ b/website/content/docs/developers/compiling/compiling.md
@@ -119,6 +119,23 @@ build` command. For example, the following command would 
build the [Heron Tracke
 $ bazel build --config=darwin heron/tools/tracker/src/python:heron-tracker
 ```
 
+### Installing Heron to system
+
+All compiled files are placed under `bazel-bin/` folder. If you need to 
install Heron into your system, the install script is located in 
`bazel-bin/scripts/packages/heron-install.sh`. Simply executing the command can 
do the installation for you:
+```bash
+$ bash bazel-bin/scripts/packages/heron-install.sh
+```
+
+If you would like to install it under your user folder, you can execute this 
command:
+```bash
+$ bash bazel-bin/scripts/packages/heron-install.sh --user
+```
+
+By default, Heron will be installed into `/usr/local/heron`. If you would like 
to install into an alternative path, you can execute this command (default: 
`/usr/local`):
+```bash
+$ bash bazel-bin/scripts/packages/heron-install.sh --prefix /opt
+```
+
 ## Testing Heron
 
 Instructions for running Heron unit tests can be found at [Testing

Reply via email to