Skip to content

Arkindex deployment validation procedure

Refs https://redmine.teklia.com/issues/8008

When a sysadmin builds a new Arkindex instance, it is extremely useful to guide them through a serie of validation step of increasing complexity.

A new page describing all these checks and their reason to be must be created as /deployment/validation

Steps:

  1. Admin login
    • to validate DB connectivity, DB migrations super-user creation
  2. User creation in admin
    • to validate form submission from the backend (CSRF issues)
  3. Login through frontend
    • to validate frontend => API usage & CORS issues
  4. Reset password
    • to validate email account
  5. Upload image onto staging bucket (no import)
    • to validate minio/bucket storage & CORS issues
  6. Import images
    • using the previously uploaded file
    • to validate a ponos worker is available & features are setup
    • usually this is the most complex step
  7. Inference process with tesseract
    • to validate workers through ponos
  8. Search indexation
    • to validate search engine & admin usage
  9. Data export
    • to validate export workers & storage on bucket
  10. Django cleanup
    • to validate it's setup as cron
  11. Production mode
    • just to make sure the website is not running in debug mode, exposing credentials
Edited by Erwan Rouchet