# README
Co-working-space-management
Pre-requisites
- protoc
- download zip file from here
- extract the zip file
- configure the path to the bin folder in the extracted folder
- run
protoc --version
to verify the installation (restart the terminal if it doesn't work)
- protoc-gen-go
- run
go install github.com/golang/protobuf/protoc-gen-go
- run
To run the project
- Clone the project
- Copy the
.env.example
file to.env
and fill in the required fields - Run
docker compose up --build -d
to start the project
To compile the proto file
- Configure the proto header as shown below
syntax = "proto3";
package <PACKAGE_NAME>;
option go_package = "generated/<PACKAGE_NAME>";
- Run
protoc --go_out=. --go-grpc_out=. <PATH_TO_PROTO_FILE>
to compile the proto file