This guide will help you get started with contributing to TelDrive.
- Go (1.22 or later)
- Git
- Task
- PowerShell (for Windows) or Bash (for Unix-like systems)
curl https://instl.vercel.app/go-task/task | bash
powershell -c "irm https://instl.vercel.app/go-task/task?platform=windows|iex"
- Clone the repository:
git clone https://github.com/tgdrive/teldrive.git
cd teldrive
- Install dependencies:
task deps
To build both frontend and backend:
task
The frontend is managed in a separate repository (teldrive-ui). The main repository pulls the latest frontend release during build.
To set up the frontend:
task ui
To build the backend only:
task server
After building, run the application:
task run
- Create a new branch for your feature:
git checkout -b feature/your-feature-name
- Generate API Spec:
task gen
-
Branch Naming:
feature/
for new featuresfix/
for bug fixesdocs/
for documentation changesrefactor/
for code refactoring
-
Commit Messages:
- Use clear, descriptive commit messages
- Reference issues when applicable
-
Pull Request Description:
- Describe the changes made
- Include any relevant issue numbers
- List any breaking changes