This repository is a monorepo containing Python and Go projects, managed using Bazel. It provides seamless build and execution capabilities for both languages, leveraging the power of Bazelisk for efficient and consistent builds.
Before running any commands, ensure the following tools are installed:
- Bazelisk
Bazelisk is a user-friendly launcher for Bazel. Install it by following the official installation guide.
.
├── projects/
│ ├── python_server/ # Python server project
│ └── go_server/ # Go server project
├── WORKSPACE # Bazel workspace file
└── BUILD # Build rules
To run the Python server, use the following command:
bazelisk run //projects/python_server:python_server_bin
To run the Go server, execute:
bazelisk run //projects/go_server:go_server
To regenerate Bazel build files for the repository:
bazelisk run //:gazelle