forked from https://github.com/umap-project/umap
blat b2eca58f38 init | 2 years ago | |
---|---|---|
scripts | 2 years ago | |
umap | 2 years ago | |
Dockerfile | 2 years ago | |
README.md | 2 years ago | |
docker-compose.yml | 2 years ago | |
docker-entrypoint.sh | 2 years ago | |
requirements-docker.txt | 2 years ago | |
uwsgi.ini | 2 years ago |
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 and Leaflet.Storage, built on top of Django and Leaflet.
docker support from https://github.com/Duvel/umap
umap documentation at https://umap-project.readthedocs.io/en/latest/install/
cd /opt/
git clone https://git.lattuga.net/blat/umap
chmod -x ./scripts/install.sh
./scripts/install.sh
docker exec -ti umap_app_1 umap createsuperuser
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
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
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