Skip to content

Generate a new project

In this section, we will start by generating our first project:

Usage

codoo init [OPTIONS]

Available options

Option Type Default Description
-n, --name TEXT The name of project, (e.g: Awesome project)
-v, --version INTEGER RANGE The version of odoo (11 to 13)
-l, --license [community,enterprise] Community The licence of odoo
-d, --description TEXT The description of the project
-a, --author TEXT The author of the project
-w, --website TEXT The website of the project
-p, --prefix TEXT The prefix of the project
--yes Boolean To confirm the generation

Note

All the options are mandatory.

Examples

  codoo init \
  -n "Awesome project" \
  -v 12 \
  -l community \
  -d "Awesome new project generated by codoo cli" \
  -a "Developer <developer@codoo.io>" \
  -w "https://codoo.io" \
  -p "codoo" \
  --yes

Now that we have generate our new project, we will pass to the serve section in which we will run the odoo server.

Back to top