-d <db_name> : Name of the database created for Tiny ERP Server.
-r <db_user> : Name of the PostgreSQL administrator.
-w <db_password> : Administrator's password.
--db_host=<postgresql_server_address> : Adress of the server where is PostgreSQL, if you installed PostgreSQL on the same computer as Tiny ERP Server, you can enter localhost, else the IP adress or the name of the distant server.
--db_port=<port_no> : Port number where listens PostgreSQL. Default is 5432.
-s : This option allows you to save the options in configuration file of Tiny ERP Server.
--stop-after-init: This option stops the ERP server after initialization.
--logfile="<logfile>": specify a logfile where will be saved all output of the ERP Server.
所以就上面安裝說明中所列出要改三項設定的環境。開啟一個命令列視窗,切換目前目錄到 TinyERP Server 的安裝目錄,然後用下列指令(請注意是在同一行):
tinyerp-server.exe -d terp -r tinyerp -w tinyerppasswd --db_host=localhost -s --stop-after-init