@@ -6,7 +6,7 @@ Built using FastAPI and the [simple-repository](https://github.com/simple-reposi
66
77## Demo
88
9- A tech-preview demo is available at https://simple-repository.app.cern.ch/ .
9+ A tech-preview demo is available at < https://simple-repository.app.cern.ch/ > .
1010
1111## Usage
1212
@@ -24,39 +24,34 @@ simple-repository-browser
2424
2525(or alternatively `` python -m simple_repository_browser `` )
2626
27- By default, this will use the repository at PyPI (https://pypi.org/simple/ ). You can point it to a custom
27+ By default, this will use the repository at PyPI (< https://pypi.org/simple/ > ). You can point it to a custom
2828repository by passing the URL to the project list endpoint (the base URL according to PEP-503):
2929
3030``` bash
3131simple-repository-browser https://my-custom-repository.example.com/foo/simple/
3232```
3333
34- ## Screenshots:
34+ ## Screenshots
3535
3636Homepage:
3737
3838![ homepage screenshot] ( https://raw.githubusercontent.com/simple-repository/simple-repository-browser/main/screenshots/home.png )
3939
40-
4140Search:
4241
4342![ search result] ( https://raw.githubusercontent.com/simple-repository/simple-repository-browser/main/screenshots/search.png )
4443
45-
4644Project page:
4745
4846![ example project page] ( https://raw.githubusercontent.com/simple-repository/simple-repository-browser/main/screenshots/project.png )
4947
50-
51-
5248## Runtime details
5349
5450``` simple-repository-browser ``` exposes a FastAPI application, and it runs the application in a single `` uvicorn `` worker.
5551Metadata that is computed will be cached in the `` $XDG_CACHE_DIR/simple-repository-browser `` directory. This cache is not
5652intended to be shared among different repository URLs, and is unlikely to work for multiple `` simple-repository-browser ``
5753versions. There is currently no intelligent cache invalidation for those cases.
5854
59-
6055## Development
6156
6257In order to build the `` simple-repository-browser `` you will need access to npm. If not available on the development host,
@@ -82,6 +77,12 @@ And then the normal installation procedure applies:
8277python -m pip install -e .
8378```
8479
80+ You may want to disable the indexing to avoid long-running tasks during the development:
81+
82+ ``` bash
83+ export DISABLE_REPOSITORY_INDEXING=1
84+ ```
85+
8586The browser can be run with:
8687
8788``` bash
0 commit comments