uMap === ### About uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site. *Because we think that the more OSM will be used, the more OSM will be improved.* It uses [django-leaflet-storage](https://github.com/umap-project/django-leaflet-storage) and [Leaflet.Storage](https://github.com/umap-project/Leaflet.Storage), built on top of Django and Leaflet. ![Umap](scripts/umap.png) docker support from https://github.com/Duvel/umap umap documentation at https://umap-project.readthedocs.io/en/latest/install/ #### Install ``` cd /opt/ git clone https://git.lattuga.net/blat/umap chmod -x ./scripts/install.sh ./scripts/install.sh ``` ##### Create admin ``` docker exec -ti umap_app_1 umap createsuperuser ``` #### Backup There are two important places where your data are located, in your database and in your media folder. ``` chmod -x ./scripts/backup.sh ./scripts/backup.sh ``` read more about backups: https://github.com/umap-project/umap/blob/update-docs-backup-commands/docs/backup.md #### Restore edit db_$(date +"%Y-%B-%d").zip with your backup date * require root privilegies to fix permission on db folder ``` chmod -x ./scripts/restore.sh ./scripts/restore.sh ``` #### Upgrade select a version and build a new image * require root privilegies to fix permission on db folder ``` chmod -x ./scripts/upgrade.sh ./scripts/upgrade.sh ```