This template provides a basic installation of odoo.
- Python 3.11
- PostgreSQL 15
- Automatic TLS certificates
- Build from odoo sources via
pip install
You can change the odoo_version
text file and it should work
It has only been tested with the 16.0
version of odoo.
For other versions, you may have to tweak:
- The python version of the application
- deploy.sh: The command line options of the oddo initialization
- run.sh: The command line options to launch odoo
The install is quite fast because we are using the platform.sh cache system:
- After the first
git clone
of the Odoo tree, it should be a simple quick git check for the files (as the branch is fixed and should not change) - Every python module is cached (wheel files) including
odoo
itself - When new versions will be launched, the build chain will fetch the updated packages and save them for future usage
If using this project as a reference for your own existing project.
The platform.sh specifics are:
.platform.app.yaml
: The configuration of the odoo app server and the posgresql databasebuild.sh
: If you want to install plugins to Odoo, this would be the place to add your own logic to install python pluginsdeploy.sh
: This is mainly used to generate the demo. Once you have a production system you should not use this unless you want to start from scratchrun.sh
: It uses the platform.sh generated environment variable to launch odoo
- Log in into the admin with
admin
,admin
and change your password - Then you can install apps (top left corner)
- You can also test the user view with the user
demo
,demo
- Upgrades from the web interface are not working.
- Most certainly not ready for production: consider it experimental or a starting point to meet your needs.