npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

install-odoo

v1.0.5

Published

A node cli to install odoo

Downloads

390

Readme

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.