The INSTALL document details a manual Aurweb setup, but Docker images are also
provided here to avoid the complications of database configuration (and so
forth).
Naturally, both docker and docker-compose must be installed, and your Docker
service must be started:
systemctl start docker.serviceThe main image - aurweb - must be built manually:
docker compose buildWith the above steps complete, you can bring up an initial cluster:
docker compose upSubsequent runs will be done with start instead of up. The cluster can be
stopped with docker compose stop.
With a running cluster, execute the following in a new terminal:
docker compose run testBefore you can make meaningful queries to the cluster, it needs some data. Luckily such data can be generated.
docker compose exec fastapi /bin/bash
pacman -S words fortune-mod
./schema/gendummydata.py dummy.sql
mariadb aurweb < dummy.sqlThe generation script may prompt you to install other Arch packages before it can proceed.
The Fast (Python) API runs on Port 8444. You can query one like so:
curl -k "https://localhost:8444/rpc/?v=5&type=search&arg=python"-k bypasses local certificate issues that curl will otherwise complain about.