Microsite for providing access to reward's info to the end user.
poetry install
- create
.env
or .settings.ini
file in the root folder and fill in the required env vars fromaquila/settings.py
- Polaris API must be running and the
POLARIS_HOST
env var should point to it. BLOB_STORAGE_DSN
env var must be providedpoetry run python wsgi.py
- run
PROMETHEUS_MULTIPROC_DIR=/tmp OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES gunicorn --bind=0.0.0.0:[PROJECT_PORT] --bind=0.0.0.0:9100 wsgi:app
- or run as normal with
METRICS_DEBUG
set toTrue
- send http
GET
request to[host][port]/reward?retailer=[retailer_slug]$reward=[reward_uuid]
- Aquila's
/readyz
endpoint will check for the existance of aheathz
file in the blob storage and will try to contact polaris'/livez
endpoint. - Aquila implements dynamic versioning so please leave the
__version__
set to"0.0.0"