Skip to content

Go Implementation of the algorithm runner controller microservice of EvOC (Evolutionary algorithms On Click).

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
LICENSE.md
Notifications You must be signed in to change notification settings

Evolutionary-Algorithms-On-Click/runner_controller_microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runner Controller Microservice

Go implementation of the Runner Controller.

Setup

Prerequisites

  1. GoLang - Install GoLang.
  2. MinIO - Start a MinIO server instance.
  3. CockroachDB - Start a CockroachDB instance.

Installation

  1. Install the protobuf-grpc compiler.
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
export PATH="$PATH:$(go env GOPATH)/bin"
  1. Export the following environment variables.
export DATABASE_URL=<cockroachdb_url>
export MINIO_ENDPOINT=<minio_endpoint>
export MINIO_ACCESS_KEY_ID=<minio_access_key>
export MINIO_SECRET_KEY=<minio_secret_key>
export RABBITMQ_URL=<rabbitmq_url>
  1. Run the following command to start the server.
go run main.go

Editing .proto files

  1. Install protoc compiler
  2. Run the following command to generate the go files from the proto files.
protoc --go_out=./ --go_opt=paths=source_relative \
    --go-grpc_out=./ --go-grpc_opt=paths=source_relative \
    ./proto/authenticate.proto

About

Go Implementation of the algorithm runner controller microservice of EvOC (Evolutionary algorithms On Click).

Topics

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages