/addressparser-docker

Dockerize NYC 5 Boroughs address extractor

Primary LanguageJavaScriptApache License 2.0Apache-2.0

cityofnewyork-addressparser

Dockerize NYC 5 Boroughs address extractor

Build

An image tagged with warenix/addressparser-docker will be built.

cd script
sh build.sh

Usage

Refer to official addressparser's Readme how to apply APP_ID and APP_KEY.

docker run -ti --rm -p 5000:5000 \
	-e DOITT_CROL_APP_ID={{APP_ID}}\
	-e DOITT_CROL_APP_KEY={{APP_KEY}}\
	warenix/addressparser-docker python /app/webserver.py

On success you should see console output like this:

 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)

Explore the api