Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions to start up libpostal + placeholder before starting pelias #228

Open
jpan127 opened this issue Aug 25, 2018 · 1 comment

Comments

@jpan127
Copy link

jpan127 commented Aug 25, 2018

Start the API

After installing placeholder, start the service by navigating to the directory you installed it in, and running:

PORT=3000 npm start;

The port number 3000 corresponds to the port you specified in api.services.placeholder.url.

After installing go-whosonfirst-libpostal, start the service by navigating to the directory you installed it in, and running:

./bin/wof-libpostal-server -port 8080

The port number 8080 corresponds to the port you specified in api.services.libpostal.url (defaults to 8080).

Now that the API knows how to connect to Elasticsearch and all other Pelias services, all that is
required to start the API is:

npm start
@kylebarron
Copy link

@orangejulius I was also having trouble figuring out how to start the libpostal server. Is go-whosonfirst-libpostal the intended way to start a libpostal server?

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

No branches or pull requests

2 participants