tbhova / Emulation_ROM_Market_Server

Server Program For Emulation Market
0 stars 0 forks source link

Emulation_ROM_Market_Server

Server Program For Emulation Market

Tools Needed

GoLang

GogLand

Also get the GogLand Protoc plugin (install within the IDE)

Flyway Command Line

Postgres

Lastest protoc

Protoc needs to be placed somewhere on the path

Go Packages

Run the following commands:

go get github.com/lib/pq
go get google.golang.org/grpc
go get -u github.com/golang/lint/golint
go get -u github.com/golang/protobuf/protoc-gen-go
go get -u github.com/golang/protobuf/proto

Generate protoc code

cd src
make

OR

protoc --go_out=plugins=grpc:. MarketServer/MarketServer.proto
protoc --go_out=plugins=grpc:. AvailableGamesServer/AvailableGameServer.proto
protoc --go_out=plugins=grpc:. UserDownloadServer/UserDownloadServer.proto
protoc --go_out=plugins=grpc:. UserServer/UserServer.proto