Skip to content

Commit 4caae9c

Browse files
authored
note the local_settings hack in the README (#108)
1 parent 89a709d commit 4caae9c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ field will be shown in the Changes and Timeline views.
8686

8787
**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`
8888

89+
## Hacking on speed.python.org vs speed.pypy.org
90+
91+
This repo serves both speed.python.org and speed.pypy.org. It decides which
92+
data model and UI specializations to show by default by the location of a
93+
`*/local_settings.py` file in either `./speed_python` or `./speed_pypy`. If
94+
neither or both exist, it will choose `speed.python.org`. The default can also
95+
be overridden by using the `--settings speed_pypy` command line option.
96+
8997
## Saving data
9098

9199
Data is saved POSTing to `http://localhost:8000/result/add/`.

0 commit comments

Comments
 (0)