Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

juju-solutions/review-queue

Repository files navigation

Review Queue

Getting started

First install the app and it's deps:

$ make .venv

Postgres

You need access to a postgres server. Update the sqlalchemy.url option in development.ini to point to your postgres server, with the correct login credentials. You do not need to create the reviewqueue database.

Launchpad Authentication

The Launchpad api is used to check users' group membership:

$ .venv/bin/initialize_lp_creds

This will open up LaunchPad in your browser, requesting OAUTH access from the Review Queue application. The credentials will be cached in lp-creds

NOTE: This will run all Launchpad api requests as your user.

Run webserver (web ui)

$ make serve

Browse to the app at http://localhost:6542

Run Celery worker (background task processing)

Run from the root project directory:

$ make celery

Celery background tasks periodically refresh review info, updating test results, ingesting new source revisions, etc.

Run dev email server

This will intercept emails generated by comments and print them in the terminal instead of sending them to the network.

$ make smtp