- Go version:
1.13
- Python version:
3.5+
All commands should be run from the core/
directory. This repo should be placed within your go workspace.
Build and install the service executable inside your go bin
directory:
go get -t graphelier/core/graphelier-service/...
$GOPATH/bin/graphelier-service
go test graphelier/core/graphelier-service/...
go fmt graphelier/core/graphelier-service/...
Run this command in the project's root
docker run --rm -v $(pwd):/goapp -e RUN=1 -e REPO=github.com/Lercerss/graphelier golangci/build-runner goenvbuild
All scripts should be run from the core/scripts
directory.
Load data from file containing messages
python -m importer <path_to_messages_file> <start_time> <instrument>
docker build --target=lint -t graphelier-scripts-lint ./core/scripts
docker run graphelier-scripts-lint
docker build --target=test -t graphelier-scripts-test ./core/scripts
docker run graphelier-scripts-test