Installation et configuration d'openerp
1/ Installation Postgresql
2/ Creation utilisateur de la base postgresql :
C:\Program Files\PostgreSQL\8.3\bin> createuser.exe --createdb --username postgres --no-createrole --pwprompt openuser
C:\Program Files\PostgreSQL\8.3\bin>createuser.exe --createdb --username postgres --no-createrole --pwprompt openuser Enter password for new role: XXXXXXXXXX Enter it again:XXXXXXXXXX Shall the new role be a superuser? (y/n) y Password: YYYYYYYYYY
* line 1 is the command itself
* line 2 asks you the new user's password
* line 3 asks you to confirm the new user's password
* line 4 new role is superuser or not?
* line 5 asks you the *postgres* user's password
**************************************************************************************************
3/ Installation Openerp Server
4/ Initialize the server and save its configuration for the service to be able to start automatically
AND
specify a logfile to be able to read the output the server writes during its execution :
C:\Program Files\OpenERP Server> openerp-server.exe -d <db_name> -r <db_user> -w <db_password> --db_host=localhost --db_port=5432 --logfile="<logfile>" -s --stop-after-init
Sample for First time run without demo data (Clean version):
openerp-server.exe -d postgres -r openuser -w 12345 --db_host=localhost --logfile="C:\Program Files\OpenERP Server\openerp-server.log" --db_port=5432 -s --stop-after-init --without-demo=all
**************************************************************************************************
5/ Restart Openerp Server
Start the server :
C:\> net start openerp-service
Stop server :
C:\> net stop openerp-service
**************************************************************************************************
6/ Installation openerp Client GTK