Hello Noriaki-san,
I assume that you are trying to run odoo with the source code? If thats correct, you are first need to download the odoo "source" file from cloning the github repository or from the odoo official website.
after that, you can install postgresql into your machine. for best development, you can use unix-based operating system like macintosh or linux. create a new database into that postgresql and set the new postgresql account which later will be connected to odoo that will be responsible to write data from into database. you can access the psql and enter this command to create odoo user account in the postgresql
CREATE USER community17 WITH PASSWORD ‘community17’;
ALTER USER community17 WITH SUPERUSER;
ALTER USER community17 WITH CREATEROLE;
ALTER USER community17 WITH CREATEDB;
ALTER ROLE community17 VALID UNTIL 'infinity';
Once the odoo file are downloaded, from your terminal you can get into the odoo folder and run using this command :
python3 odoo-bin --addons-path addons, -r community17 -w community17
From here, you can begin your development. Odoo works modularly, that means all the customization you made is recommended by creating custom module which will be loaded into the odoo. in order to add your custom module, you can create a new folder into the same odoo folder project and add a command into the command above such as
python3 odoo-bin --addons-path addons,custom_module/ -r community17 -w community17
The explanation above is just a brief step on how to do development of Odoo, for more details you can watch this video on youtube :
Odoo Development Tutorial
I personally use the method from the link above to create my development :)
Hope this helpful, best regards,
Altela (altelasoftware.com)
Can you please elaborate more about this?