This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps-site.git
The following commit(s) were added to refs/heads/main by this push:
new e4ec215 Fix ip to location documentation
e4ec215 is described below
commit e4ec215ad2f077200c9402743b6c0aedaa03acb6
Author: Bertil Chapuis <[email protected]>
AuthorDate: Mon Apr 24 15:02:00 2023 +0200
Fix ip to location documentation
---
pages/documentation/examples/ip-to-location.mdx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/pages/documentation/examples/ip-to-location.mdx
b/pages/documentation/examples/ip-to-location.mdx
index 7bad3c3..8f89f6a 100644
--- a/pages/documentation/examples/ip-to-location.mdx
+++ b/pages/documentation/examples/ip-to-location.mdx
@@ -32,7 +32,7 @@ The workflow executed in the following command contains
multiple steps.
- Iterate over every entry in the registries to extract the IP address ranges
and the associated metadata to query the Geocoding index and extract a latitude
and a longitude.
```
-baremaps workflow execute --file examples/geocoding/workflow.json
+baremaps workflow execute --file examples/ip-to-location/workflow.js
```
## Serve the data
@@ -40,11 +40,13 @@ baremaps workflow execute --file
examples/geocoding/workflow.json
The following command will serve the Geonames index over HTTP in a simple web
application.
```
-iploc serve --database iploc.db --port 9000
+baremaps iploc serve --database iploc.db --port 9000
```
Go to [http://localhost:9000/](http://localhost:9000/) to see it in action.
+
+
## Conclusion
In this tutorial, we learnt how to create an IP to location index and serve it
in a simple web application.