Closed Guled closed 1 week ago
Hey @Guled, thanks for stopping by (and hope you're doing well)! I think what happened here is that the v1.7 documentation was mistakenly updated with changes from the upcoming v2.0 release. These commands should work if you run them from the root directory:
$ sh build/scripts/config/compile.sh
$ cd examples/cmd/client/file/substation
$ go build -o .
$ ./substation -config ./config.json -file ./data.json
{"foo":"bar","qux":"quux"}
If you want to try v2.0, then the branch is v2
and you can follow these steps from the root directory:
$ sh build/scripts/config/compile.sh && \
$ go build -o ./examples/substation-file ./cmd/development/substation-file/ && \
$ ./examples/substation-file -config ./examples/transform/aggregate/summarize/config.json -file ./examples/transform/aggregate/summarize/data.jsonl
{"client":"10.1.1.3","server":"8.8.4.4","timestamp":1674429064,"count":2,"bytes_total":40}
{"client":"10.1.1.2","server":"8.8.4.4","timestamp":1674429065,"count":6,"bytes_total":112}
{"client":"10.1.1.3","server":"8.8.8.8","timestamp":1674429066,"count":6,"bytes_total":52}
{"client":"10.1.1.4","server":"1.2.3.4","timestamp":1674429054,"count":1,"bytes_total":2400}
{"client":"10.1.1.2","server":"8.8.8.8","timestamp":1674429067,"count":4,"bytes_total":72}
I'll update the readme.io docs so it's fixed there, too. I think this v1.7 recipe is still accurate, and it walks through the local testing process (if you're interested).
Thanks @jshlbrd , now I am able to run substation locally using the updated instructions. Can't wait to explore this framework more!
@Guled No problem! btw, v2.0 should be released next week.
Describe the bug Following the instructions located here https://substation.readme.io/docs/try-substation-on-macos-linux and it appears to not be working correctly. I am getting the following error:
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected to the example program to comply and run successfully,
Screenshots Here is my output with additional validation steps to check for files existing
Build (please complete the following information):
Additional context N.A.