Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
7573 Näkymät

I am attempting to get the enterprise version of Odoo working on my local Windows developer box and having difficulty:

Environment:

  1. Windows 10

  2. Python: 3.8.2

  3. Version: 13.0

  4. PostgreSQL: 12.x

---

In looking over the installation instructions, I would expect to see the following typical steps, but I don't.

  1. some instruction to create a database (in Postgres terms of a database), like 'odoo' or something.

  2. some instruction to run SQL scripts to create a set of tables and populate with 'provisional' data like 'types' etc that are minimally needed to get the application to run.

Am I missing something? or is this hidden somewhere?

Where are these steps done?

---

I am following these steps:

  • https://www.odoo.com/documentation/13.0/setup/install.html#setup-install-source

Avatar
Hylkää
Paras vastaus

In generic terms if you want to install from source what you would do is create an empty DB and create a user for it. Depending on whether the DB is on the system or not you'll have to add more or less parameters when running odoo-bin in regards to connecting to the DB. The first time you run odoo-bin add '-i all' as this will initialise the database. If you want it to initialise without default data then add '-i all --without-demo=all'

Note: above is derived from doing the same on Linux, not based on an actual Windows installation.

I agree the steps are missing from the installation procedure.

Avatar
Hylkää

"-i all"

ooh my gosh. This is what I needed!!! For some reason, my database was suddenly empty even though 2 months ago it had all the demo data in it. Googling "initialize Odoo database" just sent me in circles for hours and hours and hours.

(And then email and password were both "admin", for other Googlers)

Paras vastaus

Hi:

On Windows 10, all you need to do is download the file (packaged installer) and run it. It will automatically create a user for postgres, install the database and odoo.

Use the instructions provided in this section:

https://www.odoo.com/documentation/13.0/setup/install.html#windows

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
lokak. 22
2491
3
toukok. 25
3324
1
heinäk. 23
5803
2
jouluk. 22
15385
2
jouluk. 22
6625