Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
145 Näkymät

Hi Odoo community,

I’m trying to run the full Odoo (version 17/19 CE) in GitHub Codespaces. I’ve pushed my Odoo code to a GitHub repository and set up a .venv, but I’m running into dependency issues and I’m not sure if Codespaces can handle the full Odoo environment including PostgreSQL.

I want to know:

  1. Has anyone successfully run full Odoo in GitHub Codespaces?
  2. What are the steps to set up Odoo 17/19 in Codespaces?
  3. Are there recommended configurations for .devcontainer or requirements.txt to avoid missing modules and build errors?
  4. Any tips for running PostgreSQL and Odoo together in Codespaces?

Thanks in advance!

Avatar
Hylkää
Paras vastaus

Hi,

Yes — you can run full Odoo (Community or Enterprise) in GitHub Codespaces, but with caveats. You need to set up a development container that includes Postgres, Odoo, and your addons. For example, there’s a template called “Odoo-Dev-Container” designed for GitHub Codespaces & VS Code.


Also there’s a repo Odoo-Codespace that sets up scripts and configuration to install Odoo inside Codespaces.


Things to watch out for:


    Resource limits in Codespaces (RAM, CPU) may restrict enterprise features.


    You’ll need to manage the database persistence (i.e., backing up your DB outside the container).


    For Enterprise edition, you’ll need access to its code and licensing.


    You must define addons_path, dependencies, configuration properly inside the container.


Hope it helps

Avatar
Hylkää