From 1adf6af50c404ef5b83962e5bd253758d39dca06 Mon Sep 17 00:00:00 2001 From: CampaniaGuy Date: Tue, 7 May 2024 09:33:41 +0200 Subject: [PATCH 1/4] Expanded docker.md documentation --- docs/deploy/docker.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/deploy/docker.md b/docs/deploy/docker.md index 51df4595..27cd7510 100644 --- a/docs/deploy/docker.md +++ b/docs/deploy/docker.md @@ -27,6 +27,7 @@ services: volumes: - umap_userdata:/srv/umap/uploads # FIX the path on the left, below, to your location + # OPTIONAL, you can comment the line below out - /home/ubuntu/umap.conf:/etc/umap/umap.conf restart: always depends_on: @@ -42,3 +43,5 @@ Note that you’ll have to set a [`SECRET_KEY`](https://docs.djangoproject.com/e ```sh $ python3 -c 'import secrets; print(secrets.token_hex(100))' ``` + +User accounts can be managed via the Django admin page ({SITE_URL}/admin). The required superuser must be created on the container command line with this command: umap createsuperuser. From 7b7583dfe65767b9b39dee33ce862ad42184bfdb Mon Sep 17 00:00:00 2001 From: CampaniaGuy Date: Tue, 7 May 2024 10:03:34 +0200 Subject: [PATCH 2/4] Docs improvement --- docs/deploy/docker.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/deploy/docker.md b/docs/deploy/docker.md index 27cd7510..e0291e20 100644 --- a/docs/deploy/docker.md +++ b/docs/deploy/docker.md @@ -27,7 +27,8 @@ services: volumes: - umap_userdata:/srv/umap/uploads # FIX the path on the left, below, to your location - # OPTIONAL, you can comment the line below out + # OPTIONAL, you can comment the line below out for default + # values to apply - /home/ubuntu/umap.conf:/etc/umap/umap.conf restart: always depends_on: @@ -44,4 +45,7 @@ Note that you’ll have to set a [`SECRET_KEY`](https://docs.djangoproject.com/e $ python3 -c 'import secrets; print(secrets.token_hex(100))' ``` -User accounts can be managed via the Django admin page ({SITE_URL}/admin). The required superuser must be created on the container command line with this command: umap createsuperuser. +User accounts can be managed via the Django admin page ({SITE_URL}/admin). The required superuser must be created on the container command line with this command: +```bash +umap createsuperuser +``` From b6bc821d4d42a07cee79e4a5e1a4d02e3be9269c Mon Sep 17 00:00:00 2001 From: CampaniaGuy Date: Tue, 7 May 2024 13:14:27 +0200 Subject: [PATCH 3/4] Specified import_pictograms has to be run from main folder. --- docs/config/icons.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config/icons.md b/docs/config/icons.md index 6ffcc260..38787625 100644 --- a/docs/config/icons.md +++ b/docs/config/icons.md @@ -22,7 +22,7 @@ You can import icons manually by going to your uMap admin page: `https://your.se ## Import icons automatically -To import icons on your uMap server, you will need to use the command `umap import_pictograms`. +To import icons on your uMap server, you will need to use the command `umap import_pictograms` from inside main project folder. Note: you can get help with `umap import_pictograms -h` From 1d8440a04d59ae1975bbcf69bc77d2011f2d0c2f Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 17 May 2024 17:38:04 +0200 Subject: [PATCH 4/4] Update docs/config/icons.md --- docs/config/icons.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config/icons.md b/docs/config/icons.md index 38787625..f542db4d 100644 --- a/docs/config/icons.md +++ b/docs/config/icons.md @@ -22,7 +22,7 @@ You can import icons manually by going to your uMap admin page: `https://your.se ## Import icons automatically -To import icons on your uMap server, you will need to use the command `umap import_pictograms` from inside main project folder. +To import icons on your uMap server, you will need to use the command `umap import_pictograms` (making sure the virtualenv is active). Note: you can get help with `umap import_pictograms -h`