How to use
I'm struggling with the README. I don't know how to use this amazing tool. Could you please write me a detailed tutorial?
Hello,
I recommend to take a look to this repo: https://github.com/mmatur/structor-sample
I don't have the time to create a detailed tutorial, but I improved the documentation:
- https://github.com/containous/structor#prerequisites
- https://github.com/containous/structor#description
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 :smiley:
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.
It's a software, you can download it from GitHub:
- https://github.com/containous/structor/releases
There is a CI integration example here:
- https://github.com/containous/structor#download--ci-integration
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.
Either you have to add the binary to your PATH or run the binaries "in place" ./structor.
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
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