Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

bligneri/odoo-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic odoo template for Platform.sh

This template provides a basic installation of odoo.

Features

  • Python 3.11
  • PostgreSQL 15
  • Automatic TLS certificates
  • Build from odoo sources via pip install

Odoo version selection

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

Building should be fast after the first pass

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

Customizations

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 database
  • build.sh : If you want to install plugins to Odoo, this would be the place to add your own logic to install python plugins
  • deploy.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 scratch
  • run.sh: It uses the platform.sh generated environment variable to launch odoo

What to do once it is deployed

  • 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.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages