... | @@ -47,6 +47,20 @@ a bit: |
... | @@ -47,6 +47,20 @@ a bit: |
|
- [ ] [Benchmarks](#benchmarks) - <small>Medium Priority</small>
|
|
- [ ] [Benchmarks](#benchmarks) - <small>Medium Priority</small>
|
|
- [ ] [Code Review](#code-review) - <small>High Priority</small>
|
|
- [ ] [Code Review](#code-review) - <small>High Priority</small>
|
|
|
|
|
|
|
|
## Environment Variables
|
|
|
|
|
|
|
|
If you use aurweb locally, you'll need to create a valid `AUR_CONFIG` by copying
|
|
|
|
[conf/config.dev](https://gitlab.archlinux.org/archlinux/aurweb/-/tree/pu/conf/config.dev)
|
|
|
|
to `conf/config` (or anywhere else) and configuring the copy for your host
|
|
|
|
development environment:
|
|
|
|
|
|
|
|
$ export AUR_CONFIG="$(pwd)/conf/config"
|
|
|
|
$ export AUR_CONFIG_DEFAULTS="$(pwd)/conf/config.defaults"
|
|
|
|
|
|
|
|
Suggestion: Craft a second config with Docker details, so that you can
|
|
|
|
test directly against Docker databases or manipulate the production DB
|
|
|
|
from the host.
|
|
|
|
|
|
## Getting Started
|
|
## Getting Started
|
|
|
|
|
|
First, checkout to and pull the latest `pu` branch revision. This branch
|
|
First, checkout to and pull the latest `pu` branch revision. This branch
|
... | @@ -163,11 +177,11 @@ This service is exposed on `localhost:19000` and majorly depends on |
... | @@ -163,11 +177,11 @@ This service is exposed on `localhost:19000` and majorly depends on |
|
|
|
|
|
###### Generating Dummy Data
|
|
###### Generating Dummy Data
|
|
|
|
|
|
<small>**NOTE**: This step requires Python dependencies to be accessible from
|
|
<small>
|
|
|
|
**NOTE**: This step requires Python dependencies to be accessible from
|
|
your shell's python3. See
|
|
your shell's python3. See
|
|
[pyproject.toml](https://gitlab.archlinux.org/archlinux/aurweb/-/tree/pu/pyproject.toml)
|
|
[pyproject.toml](https://gitlab.archlinux.org/archlinux/aurweb/-/tree/pu/pyproject.toml)
|
|
for a quite rudimentary
|
|
for a quite rudimentary [poetry](https://python-poetry.org/) configuration.</small>
|
|
[poetry](https://python-poetry.org/) configuration.</small>
|
|
|
|
|
|
|
|
Users can generate configurable amounts of dummy data with
|
|
Users can generate configurable amounts of dummy data with
|
|
[schema/gendummydata.py](https://gitlab.archlinux.org/archlinux/aurweb):
|
|
[schema/gendummydata.py](https://gitlab.archlinux.org/archlinux/aurweb):
|
... | | ... | |