This repo contains the python Setup Maintainer for odoo setups. It is used to setup and maintain odoo setups on a server.
The script currently needs to be run as root.
The init command is used to initialize the setup maintainer. It will create a new setup maintainer project in the current directory.
You can provide the option --dev
to run without ssh and reduced checks.
You can provide the option --disable-domain-check
to disable the domain check.
aura-maintainer init DOMAIN VERSION
The generate command is used to update the odoo setup. It will update the setup in the current /opt/odoo folder.
You can provide the option --dashboard
to allow access to the traefik dashboard.
You can provide the option --dry
to only show what would change in the docker compose file
aura-maintainer generate
The inspect command is used to inspect the current setup. It will print data about the current setup to the console.
You can provide the option --json
to get the response as json.
aura-maintainer inspect
The change domain command is used to change the domain of the current setup. It will update the setup in the current /opt/odoo folder.
aura-maintainer change_domain NEW_DOMAIN
Copys the live database and filestore to the desired environment. The database gets escaped.
aura-maintainer refresh-env ENVIRONMENT
The manage dev environments command provides multiple subcommands to manage the dev environments.
Caution
This functions are obsolete and will be replaced.
The add command adds an dev enviroment.
aura-maintainer manage-dev-env add PR_NUMBER
The remove command removes an dev enviroment.
aura-maintainer manage-dev-env remove PR_NUMBER
The remove-all command removes all dev envs.
aura-maintainer remove-all
HAV Media GmbH - info@hav.media