title: Openbravo postgres installation
body: <p>I am trying to get a copy of Openbravo on Ubuntu for development. I am following the <a href="http://wiki.openbravo.com/wiki/How_to_setup_Eclipse_IDE" rel="nofollow noreferrer">official guide</a> and I get stuck by a Postgres error.</p>
  
  <p>I have successfully downloaded the source code through the mercurial commands. ant setup also worked for me. </p>
  
  <p>When I run the Wizard I write this information. </p>
  
  <p><img src="https://i.stack.imgur.com/NlQ7N.png" alt="Wizard"></p>
  
  <p>The problem comes when I run ant install.source:</p>
  
  <pre><code>BUILD FAILED
  /home/User/openbravo/build.xml:734: The following error occurred while executing this line:
  /home/User/openbravo/src-db/database/build-create.xml:50: The following error occurred while executing this line:
  /home/marcguilera/openbravo/src-db/database/build-create.xml:77: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
      at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:136)
      at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
      at org.postgresql.jdbc2.AbstractJdbc2Connection.&lt;init&gt;(AbstractJdbc2Connection.java:125)
      at org.postgresql.jdbc3.AbstractJdbc3Connection.&lt;init&gt;(AbstractJdbc3Connection.java:30)
  </code></pre>
  
  <p>The stacktrace is longer.</p>