CLI tool for Odoo development
npm install odvbash
npm install -g odookit
`
Quick Start
$3
Initialize a new Odoo project with Docker configuration:
`bash
npx odookit new:project
`
This command sets up:
- Docker Compose configuration
- Odoo configuration files
- Development environment structure
- Basic project scaffolding
$3
After generating the project, navigate to the project directory and start the services:
`bash
cd your-project-name
docker-compose up -d
`
The Odoo instance will be available at:
- Web Interface: http://localhost:8069
- Database Manager: http://localhost:8069/web/database/manager
To stop the services:
`bash
docker-compose down
`
$3
Generate a new frontend module:
`bash
npx odookit new:module frontend
`
Project Structure
`
project/
├── docker/
│ ├── Dockerfile
│ └── docker-compose.yml
├── odoo/
│ └── config/
│ └── odoo.conf
└── modules/
└── [your-modules]
`
Module Structure
Generated modules follow Odoo's standard structure:
`
module/
├── __manifest__.py
├── static/
│ ├── src/
│ │ ├── js/
│ │ ├── css/
│ │ └── xml/
│ └── description/
└── views/
``