From b720b2f730bb84e1e8b12675d2e44e8415b7a9f5 Mon Sep 17 00:00:00 2001 From: Rub21 Date: Wed, 6 Sep 2023 16:54:40 -0500 Subject: [PATCH] Rename files --- envs/.env.osmcha.example | 14 ++++++++++++-- images/osmcha-web/start.sh | 2 +- ...-deployment.yaml => osmcha-web-deployment.yaml} | 0 ...ch-web-ingress.yaml => osmcha-web-ingress.yaml} | 0 ...ch-web-service.yaml => osmcha-web-service.yaml} | 0 5 files changed, 13 insertions(+), 3 deletions(-) rename osm-seed/templates/osmcha-web/{osmch-web-deployment.yaml => osmcha-web-deployment.yaml} (100%) rename osm-seed/templates/osmcha-web/{osmch-web-ingress.yaml => osmcha-web-ingress.yaml} (100%) rename osm-seed/templates/osmcha-web/{osmch-web-service.yaml => osmcha-web-service.yaml} (100%) diff --git a/envs/.env.osmcha.example b/envs/.env.osmcha.example index b54bc9b6..7ba0ad42 100644 --- a/envs/.env.osmcha.example +++ b/envs/.env.osmcha.example @@ -1,5 +1,15 @@ -# POSTGRES_HOST=osmcha-db -PGHOST=osmcha-db POSTGRES_DB=osmcha POSTGRES_USER=postgres POSTGRES_PASSWORD=1234 +PGHOST=osmcha-db +DJANGO_DEBUG=true +DJANGO_SECRET_KEY=abc +OAUTH_OSM_KEY=xya +OAUTH_OSM_SECRET=xya +DJANGO_ANON_USER_THROTTLE_RATE=30/min +DJANGO_COMMON_USER_THROTTLE_RATE=180/min +DJANGO_NON_STAFF_USER_THROTTLE_RATE=3/min +OAUTH_REDIRECT_URI=http://localhost:8000/oauth-landing.html +OSMCHA_FRONTEND_VERSION=oh-pages +DJANGO_ENABLE_CHANGESET_COMMENTS=False +DJANGO_OSM_COMMENTS_API_KEY="" \ No newline at end of file diff --git a/images/osmcha-web/start.sh b/images/osmcha-web/start.sh index 50d654af..0055912e 100755 --- a/images/osmcha-web/start.sh +++ b/images/osmcha-web/start.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -e python3 manage.py migrate -python3 manage.py runserver 0.0.0.0:8000 --nothreading --noreload +python3 manage.py runserver 0.0.0.0:8000 diff --git a/osm-seed/templates/osmcha-web/osmch-web-deployment.yaml b/osm-seed/templates/osmcha-web/osmcha-web-deployment.yaml similarity index 100% rename from osm-seed/templates/osmcha-web/osmch-web-deployment.yaml rename to osm-seed/templates/osmcha-web/osmcha-web-deployment.yaml diff --git a/osm-seed/templates/osmcha-web/osmch-web-ingress.yaml b/osm-seed/templates/osmcha-web/osmcha-web-ingress.yaml similarity index 100% rename from osm-seed/templates/osmcha-web/osmch-web-ingress.yaml rename to osm-seed/templates/osmcha-web/osmcha-web-ingress.yaml diff --git a/osm-seed/templates/osmcha-web/osmch-web-service.yaml b/osm-seed/templates/osmcha-web/osmcha-web-service.yaml similarity index 100% rename from osm-seed/templates/osmcha-web/osmch-web-service.yaml rename to osm-seed/templates/osmcha-web/osmcha-web-service.yaml