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