Standalone Offline OSM Server - Need help serving up Javascript

Hi

I have successfully built my OSM server using this excellent guide…

http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/

I would now like to disconnect the server from the internet completely so I need to host the OpenLayers.js and OpenStreetMap.js locally (As best I can see from my research). I was able to download the OpenLayers.js after a bit of searching but can’t seem to find OpenStreetMap.js anywhere.

Can anyone point me in the right direction?

Thanks

Glenn

I cannot give you a concrete solution … but are you aware that in the meantime the main osm.org website is using leafletjs instead of openlayers?

I wasn’t Stephan, thanks. I will have a look at that too!