Basic OSM tile server based on the instructions provided on switch2osm.org.
Copy an OSM pbf file from geofabrik to the data directory.
docker-compose up
docker run --rm -p 8080:80 -v $PWD/data:/import pchynoweth/osm-tileserver
A demo leafletjs application can be found in the demo directory. Run the demo as follows:
npm install
npm start
This should start a basic http server locally. You should then point your browser to http://localhost:3000.