Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support or Instructions for Windows #15

Open
stuwilliams-clgx opened this issue Aug 14, 2018 · 2 comments
Open

Support or Instructions for Windows #15

stuwilliams-clgx opened this issue Aug 14, 2018 · 2 comments

Comments

@stuwilliams-clgx
Copy link

Many developers in our organization are on Windows, and already have go installed.

  1. Is there a way to use this on Windows?
  2. If not, could that be fixed?
  3. If so, can that be added to the README
@cf-gitbot
Copy link
Member

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.

@stuwilliams-clgx
Copy link
Author

We figured it out, you can use this (or a modification of it to help out windows users):

  1. Install go on your windows machine https://golang.org/dl/, you may need to reboot, or reopen your shell.

  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants