npm

install-odoo
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

install-odoo-cli

NPM Version NPM Downloads Node Current NPM Type Definitions NPM License

Install Odoo

A command-line tool to install Odoo with various configuration options.

Prerequisites

Before you begin, ensure that you have the following:

  • An Ubuntu 22.04 or 24.04 server.
  • Node.js version 18.18.0 or higher, along with npm.

If Node.js and npm are not installed on your server, you can install them using the following command:

sudo apt install nodejs npm -y

Installation

You can easily install Odoo using the following command:

npx install-odoo

Usage

When you run npx install-odoo, you will be prompted to provide various configuration options. Here’s what you can expect:

Configuration Options

  1. Select Odoo Version
    Choose the version of Odoo you wish to install. Options include:

    • Odoo 18.0
    • Odoo 17.0
  2. Install Odoo Enterprise
    Do you want to install the Odoo Enterprise version?

    • Yes: You will be prompted to enter your GitHub access token.
    • No: Proceed to the next option.
  3. GitHub Access Token
    If you choose to install the Enterprise version, you will need to provide your GitHub access token. This token must have access to the Odoo Enterprise repository.

  4. Odoo Home Path
    Specify the path where Odoo will be installed (default is /odoo). Ensure that this path does not already exist.

  5. System User for Odoo Enter the name of the system user that will be used to run Odoo (default is odoo).

  6. Generate Strong Odoo Super Admin Password
    Would you like to generate a random strong password for the Odoo super admin account?

    • Yes: A strong password will be generated.
    • No: You can provide a password in the next step.
  7. Odoo Super Admin Password
    Enter your desired password for the Odoo super admin account if you choose to No in Generate Strong Odoo Super Admin Password.

  8. Odoo HTTP Port
    Set the default HTTP port for Odoo (default is 8069).

  9. Odoo Gevent Port
    Set the default WebSocket port for Odoo (default is 8072).

  10. Install PostgreSQL
    Would you like to install PostgreSQL 16?

    • Yes: You will be prompted for the PostgreSQL user and password.
    • No: Skip to the next option.
  11. PostgreSQL Host
    Enter the hostname or IP address of the PostgreSQL server (default is localhost).

  12. PostgreSQL Port
    Enter the port for the PostgreSQL server (default is 5432).

  13. PostgreSQL User
    If PostgreSQL is being installed, enter the name of the PostgreSQL user (default is the same as the Odoo user).

  14. PostgreSQL Password
    Enter the password for the PostgreSQL user.

  15. Install WKHTMLTOPDF
    Would you like to install WKHTMLTOPDF for PDF rendering?

    • Yes: WKHTMLTOPDF will be installed.
    • No: Proceed to the end of the installation.
  16. Install Nginx
    Would you like to install Nginx?

    • Yes: You will be asked to enter a website name.
    • No: Proceed to the next option.
  17. Website Name
    Enter the name of the website to be configured with Nginx.

  18. Enable SSL
    Do you want to enable SSL for your website?

    • Yes: You will be prompted to enter an admin email for SSL certificates.
    • No: Proceed to the next option.
  19. Admin Email
    Enter the email address that will be used for SSL certificate registration.

  20. PostgreSQL User
    If PostgreSQL is being installed, enter the name of the PostgreSQL user (default is the same as the Odoo user).

  21. PostgreSQL Password
    Enter the password for the PostgreSQL user.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter any problems or have suggestions for improvements, please submit an issue on our GitHub repository. Your feedback is valuable to us!

About Author

Heliconia Solution Pvt. Ltd.
Odoo Partner and Implementor Specializes in end-to-end Odoo implementation, development, integration, customization, and support. We ensure seamless onboarding, agile development, and reliable post-implementation support, empowering businesses worldwide to optimize operations and drive growth with tailored ERP solutions across industries.

Readme

Keywords

Package Sidebar

Install

npm i install-odoo

Weekly Downloads

124

Version

1.0.5

License

MIT

Unpacked Size

378 kB

Total Files

4

Last publish

Collaborators

  • atularvind