This guide covers how to:
- Install Martin Tileserver.
- Download a Maptiler tileset for North America.
- Set up Martin to run as a persistent service using systemd.
| #!/usr/bin/env python3 | |
| from pandocfilters import toJSONFilter, Str | |
| import re | |
| def replace(key, value, format, meta): | |
| if key == 'Str': | |
| if '[[' in value: | |
| new_value = value.replace('[[', '') | |
| return Str(new_value) |
Here are steps to setup set up SSL for your domain and configured Apache to reverse‑proxy a backend app running on port 3000. I wrote this tutorial to make Martin work on a custom domain on a Google VM, but it should work on any server using Apache2.
sudo certbot --apache -d YOUR_DOMAIN.COM