Skip to content

Commit

Permalink
Merge pull request #69 from sparrell/tracker-docs
Browse files Browse the repository at this point in the history
bom analysis tool deployment docs
  • Loading branch information
WanjikuMac authored Nov 23, 2020
2 parents bca486a + 2097327 commit 2587ceb
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,15 @@ sbom Create SBOM file for hex and npm deps
## Generating SBOM file
To generate an sbom file, use the make task `make sbom` to generate an `sbom.xml` file on the project root
## BOM analysis tool
If you want to deploy your own bom analysis tool, you can [follow this instructions](./docs/dependancy-tracker.md) to get set up
## Deployment to GCP
Instructions to deployment can be found on [deployment docs](./docs/deployment.md)
## Adding status
You can add your project status as markdown content by adding a markdown file to the `/status` directory.
Expand Down
30 changes: 30 additions & 0 deletions docs/dependancy-tracker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Dependancy track
Dependency-Track is an intelligent Software Supply Chain Component Analysis platform
that allows organizations to identify and reduce risk from the use of third-party and open source components

## Deployment of the tracker to a virtual machine
Owasp provides a [docker image](https://hub.docker.com/r/owasp/dependency-track) that can be used to do deploy the application on to a virtual machine.

1. Create a virtual machine with the following specifications:

| Minimum | Recommended |
|-------------|-------------|
| 4.5GB RAM | 16GB RAM |
| 2 CPU cores | 4 CPU cores |

2. SSH into the virtual machine created
3. Install docker and ensure its running
4. run the following commands in sequence to start the tracker

```shell
docker pull owasp/dependency-track
docker volume create --name dependency-track
docker run -d -m 8192m -p 8080:8080 --name dependency-track -v dependency-track:/data owasp/dependency-track
```
## Running on your local machine
It is possible to run the tracker on your local computer but you should note that it requires a significant resources as listed above.
If you have docker running your computer, run the commands on step 4 above to get the tracker running

## Troubleshooting
The commands above have been picked directly from [owasp docker image page](https://hub.docker.com/r/owasp/dependency-track) so if you
are having trouble, visit that page to ensure the commands and requirements above are not outdated

0 comments on commit 2587ceb

Please sign in to comment.