Skip to content

Commit

Permalink
Adding service define script and instructions. (#1130)
Browse files Browse the repository at this point in the history
* Adding service define script and instructions.
  • Loading branch information
joel-rieke committed Jul 1, 2024
1 parent 1705c9a commit 2173d2a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 8 additions & 2 deletions installation/trclocal/trchelloworld/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,14 @@ trcpub -env=dev -token=$VAULT_TOKEN -addr=$VAULT_ADDR
trcinit -env=dev -token=$VAULT_TOKEN -addr=$VAULT_ADDR
```

# Install to a local service using the trcsh agent
TODO
# Install to a local service using the trcsh drone
You can define a serivce for the trcsh drone to deploy by executing the script: ./bin/servicedefine.sh
Alternatively you can directly define the service below.

```
trcplgtool -addr=$VAULT_ADDR -token=$VAULT_TOKEN -env=dev -defineService -pluginName=trchelloworld -projectservice="HelloProject/HelloService" -pluginType=trcshservice -serviceName="TomcatMain" -codeBundle=trchelloworld -deployroot=/usr/local/hello -deploysubpath=bin
```


# Clean up after yourself
```
Expand Down
4 changes: 4 additions & 0 deletions installation/trclocal/trchelloworld/deploy/servicedefine.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin

# dev
trcplgtool -addr=$VAULT_ADDR -token=$VAULT_TOKEN -env=dev -defineService -pluginName=trchelloworld -projectservice="HelloProject/HelloService" -pluginType=trcshservice -serviceName="TomcatMain" -codeBundle=trchelloworld -deployroot=/usr/local/hello -deploysubpath=bin

0 comments on commit 2173d2a

Please sign in to comment.