From 7f8268aef0ab0c04be911f5cd934ce0548cd7531 Mon Sep 17 00:00:00 2001 From: mattip Date: Mon, 9 Nov 2026 18:39:24 +0200 Subject: [PATCH] note the local_settings hack in the README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 42207aaa..5086b62a 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,14 @@ field will be shown in the Changes and Timeline views. **Note**: Git and Mercurial need to locally clone the repository. That means that your `sample_project/repos` directory will need to be owned by the server. In the case of a typical Apache installation, you'll need to type `sudo chown www-data:www-data sample_project/repos` +## Hacking on speed.python.org vs speed.pypy.org + +This repo serves both speed.python.org and speed.pypy.org. It decides which +data model and UI specializations to show by default by the location of a +`*/local_settings.py` file in either `./speed_python` or `./speed_pypy`. If +neither or both exist, it will choose `speed.python.org`. The default can also +be overridden by using the `--settings speed_pypy` command line option. + ## Saving data Data is saved POSTing to `http://localhost:8000/result/add/`.