Skip to content

Conversation

engyaserothman
Copy link

This commit introduces a new shell script, installer.sh, designed to automate the installation of Odoo (master branch) on Debian/Ubuntu-based systems, such as a Hetzner VPS.

The script performs the following key actions:

  • Updates system packages.
  • Installs essential dependencies (Python, PostgreSQL, Node.js, build tools).
  • Configures a PostgreSQL user and database for Odoo.
  • Creates a dedicated system user for Odoo.
  • Clones the Odoo source code from GitHub (master branch).
  • Sets up a Python virtual environment and installs Odoo's Python dependencies.
  • Installs wkhtmltopdf (0.12.5) and its dependencies for report generation.
  • Creates an Odoo configuration file (/etc/odoo18.conf) with default settings.
  • Sets up a systemd service (odoo18.service) to manage the Odoo server.
  • Includes error handling (set -e) and progress messages.

The script provides instructions for download and execution and includes warnings regarding default passwords that you should change in a production environment.

This commit introduces a new shell script, `installer.sh`, designed to
automate the installation of Odoo (master branch) on Debian/Ubuntu-based
systems, such as a Hetzner VPS.

The script performs the following key actions:
- Updates system packages.
- Installs essential dependencies (Python, PostgreSQL, Node.js, build tools).
- Configures a PostgreSQL user and database for Odoo.
- Creates a dedicated system user for Odoo.
- Clones the Odoo source code from GitHub (master branch).
- Sets up a Python virtual environment and installs Odoo's Python dependencies.
- Installs wkhtmltopdf (0.12.5) and its dependencies for report generation.
- Creates an Odoo configuration file (`/etc/odoo18.conf`) with default settings.
- Sets up a systemd service (`odoo18.service`) to manage the Odoo server.
- Includes error handling (`set -e`) and progress messages.

The script provides instructions for download and execution and includes
warnings regarding default passwords that you should change in a production
environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant