From 4bad7fd25bf57827fe8f05cb06bffddf44bf87dd Mon Sep 17 00:00:00 2001 From: Wille Marcel Date: Fri, 9 Feb 2024 15:26:59 -0300 Subject: [PATCH] Update URLs + add OSM US info --- README.rst | 13 ++++++------- .../frontend/management/commands/update_frontend.py | 6 +++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index c8b5b08a..cf388e4a 100644 --- a/README.rst +++ b/README.rst @@ -1,10 +1,7 @@ osmcha-django ============== -.. image:: https://travis-ci.org/willemarcel/osmcha-django.svg - :target: https://travis-ci.org/willemarcel/osmcha-django - -.. image:: https://coveralls.io/repos/github/willemarcel/osmcha-django/badge.svg?branch=master +.. image:: https://coveralls.io/repos/github/osmcha/osmcha-django/badge.svg?branch=master :target: https://coveralls.io/github/willemarcel/osmcha-django?branch=master .. image:: https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg @@ -19,10 +16,12 @@ OpenStreetMap API, analyses and store it in a database and finally provides a REST API to interact with the changeset data. This repository contains the backend code. You can report errors or request new features in the -`osmcha-frontend repository `_. +`osmcha-frontend repository `_. License: BSD 2-Clause +OSMCha is an `OpenStreetMap US ` charter project. You can support this project by `making a donation `. + Settings ------------ @@ -141,7 +140,7 @@ How to login using the OAuth api Frontend ^^^^^^^^ -`osmcha-frontend `_ is a web interface +`osmcha-frontend `_ is a web interface that you can use to interact with the API. We have a django management command to get the last version of osmcha-frontend and serve it with the API. @@ -178,4 +177,4 @@ Get in contact If you use, deploy or are interested in help to develop OSMCha, subscribe to our `mailing list `_. You can report errors or request new features in the -`osmcha-frontend repository `_. +`osmcha-frontend repository `_. diff --git a/osmchadjango/frontend/management/commands/update_frontend.py b/osmchadjango/frontend/management/commands/update_frontend.py index 35dda4ab..47c4ce1b 100644 --- a/osmchadjango/frontend/management/commands/update_frontend.py +++ b/osmchadjango/frontend/management/commands/update_frontend.py @@ -21,11 +21,11 @@ def handle(self, *args, **options): settings.APPS_DIR.root, 'frontend', 'templates', 'frontend' ) repo = git.Repo.clone_from( - 'https://github.com/mapbox/osmcha-frontend.git', + "https://github.com/osmcha/osmcha-frontend.git", temp_dir, branch=settings.OSMCHA_FRONTEND_VERSION, - depth=1 - ) + depth=1, + ) print('Cloned osmcha-frontend ({}) to {}'.format(repo.commit().hexsha, temp_dir)) main_files = [