Skip to content

Commit

Permalink
[#noissue] Add build guide
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed Aug 14, 2020
1 parent 413b29f commit d0cd5d3
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 50 deletions.
26 changes: 26 additions & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# build

## all
```
mvnw install -Dmaven.test.skip=true
```

## agent
```
mvnw install -pl agent -am -Dmaven.test.skip=true
```

## collector
```
mvnw install -pl collector -am -Dmaven.test.skip=true
```

## web
```
mvnw install -pl web -am -Dmaven.test.skip=true
```
Skip frontend build
```
mvnw install -pl web -am -Dbuild.frontend.skip=true -Dmaven.test.skip=true
```

15 changes: 15 additions & 0 deletions agent/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# pinpoint-agent

## build
```
mvnw install -pl agent -am -Dmaven.test.skip=true
```

```
$ROOT_DIR/agent> ../mvnw install -pl agent -am -Dmaven.test.skip=true -f ../pom.xml
```

## executable file
```
target/pnipoint-agent-$VERSION/pinpoint-bootstrap-$VERSION.jar
```
21 changes: 21 additions & 0 deletions collector/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
# pinpoint-collector

## build

```
mvnw install -pl collector -am -Dmaven.test.skip=true
```

```
$ROOT_DIR/collector> ../mvnw install -pl collector -am -Dmaven.test.skip=true -f ../pom.xml
```


## run
```
java -jar -Dpinpoint.zookeeper.address=$ZOOKEEPER_ADDRESS target/deploy/pinpoint-collector-boot-$VERSION.jar
```

spring-profiles
```
java -jar -Dpinpoint.zookeeper.address=$ZOOKEEPER_ADDRESS -Dspring.profiles.active=release target/deploy/pinpoint-collector-boot-$VERSION.jar
```
25 changes: 0 additions & 25 deletions collector/src/main/bin/sample-collector-start.sh

This file was deleted.

25 changes: 25 additions & 0 deletions web/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
# pinpoint-web

## build

```
mvnw install -pl web -am -Dmaven.test.skip=true
```

Skip frontend build
```
mvnw install -pl web -am -Dbuild.frontend.skip=true -Dmaven.test.skip=true
```

```
$ROOT_DIR/web> ../mvnw install -pl web -am -Dbuild.frontend.skip=true -Dmaven.test.skip=true -f ../pom.xml
```

## run
```
java -jar -Dpinpoint.zookeeper.address=$ZOOKEEPER_ADDRESS target/deploy/pinpoint-web-boot-$VERSION.jar
```

spring-profiles
```
java -jar -Dpinpoint.zookeeper.address=$ZOOKEEPER_ADDRESS -Dspring.profiles.active=release target/deploy/pinpoint-web-boot-$VERSION.jar
```
25 changes: 0 additions & 25 deletions web/src/main/bin/sample-web-start.sh

This file was deleted.

0 comments on commit d0cd5d3

Please sign in to comment.