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

How to use #18

Open
amber-moe opened this issue Jan 3, 2020 · 8 comments
Open

How to use #18

amber-moe opened this issue Jan 3, 2020 · 8 comments
Labels
kind/question Further information is requested

Comments

@amber-moe
Copy link

I'm struggling with the README. I don't know how to use this amazing tool. Could you please write me a detailed tutorial?

@ldez
Copy link
Contributor

ldez commented Jan 3, 2020

Hello,

I recommend to take a look to this repo: https://github.com/mmatur/structor-sample

@ldez ldez added the kind/question Further information is requested label Jan 3, 2020
@ldez
Copy link
Contributor

ldez commented Jan 3, 2020

I don't have the time to create a detailed tutorial, but I improved the documentation:

Give me some feedback if it's better or not.

As "workaround", you can try and ask questions, and maybe you will write the first detailed tutorial of Structor 😃

@amber-moe
Copy link
Author

Thanks for your kind reply. I'll try your example and feedback with a doc if possible. Actually, I'm kinda confusing if this is a software or an environment. I don't know how to install.

@ldez
Copy link
Contributor

ldez commented Jan 6, 2020

It's a software, you can download it from GitHub:

There is a CI integration example here:

@amber-moe
Copy link
Author

I downloaded the structor_v1.10.0_darwin_amd64.tar.gz version and unzipped it but my mac reminds me zsh: command not found: structor.

@ldez
Copy link
Contributor

ldez commented Jan 6, 2020

Either you have to add the binary to your PATH or run the binaries "in place" ./structor.

@amber-moe
Copy link
Author

add the binary to your PATH, did you mean this?

sudo curl -sfL https://raw.githubusercontent.com/containous/structor/master/godownloader.sh | bash -s -- -b /usr/local/go/bin v1.10.0
Password:
containous/structor info checking GitHub for tag 'v1.10.0'
containous/structor info found version: 1.10.0 for v1.10.0/darwin/amd64

but still nothing happens

structor help
zsh: command not found: structor

@ldez
Copy link
Contributor

ldez commented Jan 6, 2020

PATH is an environment variables: https://en.wikipedia.org/wiki/Environment_variable#True_environment_variables

The command that you executed require that /usr/local/go/bin be defined in your PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants