Building from Source
For developers who want to modify the code or contribute to development.
Prerequisites
Section titled “Prerequisites”- Git
- Docker and Docker Compose
- Node.js 20+ (for local development)
- Rust toolchain (for Linux agent)
- .NET 8 SDK (for Windows agent)
Clone Repository
Section titled “Clone Repository”git clone https://github.com/Anexgohan/pankha.gitcd pankhaBuild Docker Image
Section titled “Build Docker Image”Build locally instead of pulling from Docker Hub:
docker compose build --no-cachedocker compose up -dDevelopment Mode
Section titled “Development Mode”For active development with hot-reload:
Backend
Section titled “Backend”cd backendnpm installnpm run devFrontend
Section titled “Frontend”cd frontendnpm installnpm run devBuild Agents
Section titled “Build Agents”Linux Agent (Rust)
Section titled “Linux Agent (Rust)”cd agents/clients/linux/rustcargo build --releaseWindows Agent (.NET 8)
Section titled “Windows Agent (.NET 8)”cd agents/clients/windows/varient-c.\build.ps1 -Menu # Interactive menu# OR.\build.ps1 -Clean -Publish -BuildInstaller# Output: publish/win-x64/installer/pankha-agent-windows_x64.msiContributing
Section titled “Contributing”- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
See the main repository for contribution guidelines.