Git-based deployment is one of the most powerful features of Braincuber. It allows you to automatically deploy custom modules whenever you push to your repository.
Prerequisites
Before setting up Git deployment, you'll need:
- A Git repository (GitHub, GitLab, or Bitbucket)
- Your custom Odoo modules in the repository
- An active Braincuber subscription (Pro or Enterprise)
Step 1: Connect Your Repository
Step 2: Configure Deployment Settings
Step 3: Set Up Webhooks
Braincuber automatically configures webhooks. When you push to your selected branch, your modules will be deployed within minutes.
Best Practices
- Use semantic versioning for your modules
- Test modules in a staging environment first
- Keep your __manifest__.py files updated
- Use Odoo's module dependency system properly
Happy deploying!
Share: