cred-alert
cred-alert copied to clipboard
Support or Instructions for Windows
Many developers in our organization are on Windows, and already have go
installed.
- Is there a way to use this on Windows?
- If not, could that be fixed?
- If so, can that be added to the README
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.
We figured it out, you can use this (or a modification of it to help out windows users):
-
Install go on your windows machine https://golang.org/dl/, you may need to reboot, or reopen your shell.
-
Make a folder called:
c:\go\src\github.com\pivotal-cf\cred-alert
Download the credhub code as a ZIP, and inside the zip the folder that whose contents match what is shown on GITHUB are the files and folders that need to be copied to this folder. When you are done, the root of the folder above should have the file main.go in it.
From that folder, issue the following command:
go install github.com/pivotal-cf/cred-alert
This will result in the files being compiled and the resulting EXE put into: c:\go\bin\cred-alert.exe
You can then add the bin folder to the path, or use the full path to run the scanner.