Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Connection refused 127.0.0.1:5432 #58

Open
lacabra opened this issue Jan 11, 2019 · 1 comment
Open

Connection refused 127.0.0.1:5432 #58

lacabra opened this issue Jan 11, 2019 · 1 comment

Comments

@lacabra
Copy link

lacabra commented Jan 11, 2019

I cloned this repo and followed the setup instructions on the README. When I run npm run start, I get the following error:

Open maps API is up on http://localhost:8000
(node:56820) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:5432
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1117:14)
(node:56820) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:56820) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

There is no mention in the README of setting up any Postgres DB (default port 5432), and the application is working fine otherwise at http://localhost:8000/docs, so it's unclear from a first-time user whether that's needed or not.

@mikefab
Copy link
Collaborator

mikefab commented Jan 13, 2019

@lacabra, please excuse us, we never added a sample dataset for schools to this repository. We also do not plan to further develop:

  • school-mapping.azurewebsites.net
  • github.com/unicef/magicbox-maps

(I will update the READMEs)

Instead, we will likely create the new global school mapping app here github.com/unicef/magicbox-kepler-app.

The current demo is here: magicbox-kepler-app.eastus.cloudapp.azure.com.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants