The files needed for hosting the map are part of the [https://github.com/neonascent/openmaps, Open Maps GitHub repository] in location "Device Files/www/"

+

The files needed for hosting the map are part of the [https://github.com/neonascent/openmaps Open Maps GitHub repository] in location "Device Files/www/"

Place these file (javascript, example index, map tiles) into /var/www/html

Place these file (javascript, example index, map tiles) into /var/www/html

Line 139:

Line 163:

<nowiki>

<nowiki>

sudo find /var/www -type d -exec chmod a+x {} +

sudo find /var/www -type d -exec chmod a+x {} +

+

sudo find /var/www -type d -exec chmod a+w {} +

sudo find /var/www -type d -exec chown root:root {} +

sudo find /var/www -type d -exec chown root:root {} +

sudo find /var/www -type f -exec chmod a+r {} +

sudo find /var/www -type f -exec chmod a+r {} +

sudo find /var/www -type f -exec chown root:root {} +

sudo find /var/www -type f -exec chown root:root {} +

</nowiki>

</nowiki>

+

+

== Power saving ==

+

+

If you are using the device for battery-based or power-sensitive installs, follow these [http://www.jeffgeerling.com/blogs/jeff-geerling/raspberry-pi-zero-conserve-energy instructions for disabling LED and HDMI functionality to save power].