From e539550e6518f5da701bc8b584377f08f02acba0 Mon Sep 17 00:00:00 2001 From: Savan Visalpara Date: Fri, 29 May 2020 20:48:06 -0500 Subject: [PATCH] add doc for superuser --- .../computervision/annotation/cvat/cvat_quick_guide.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/getting-started/use-cases/computervision/annotation/cvat/cvat_quick_guide.md b/docs/getting-started/use-cases/computervision/annotation/cvat/cvat_quick_guide.md index dea36dbc..603a1fd9 100644 --- a/docs/getting-started/use-cases/computervision/annotation/cvat/cvat_quick_guide.md +++ b/docs/getting-started/use-cases/computervision/annotation/cvat/cvat_quick_guide.md @@ -121,6 +121,11 @@ postExecutionWorkflow: Here, we used Docker images for CVAT to create the Workspaces and exposed few ports for CVAT's use. +## Creating super user + +CVAT requires super user permission to perform certain tasks. Onepanel automatically creates a superuser when you execute CVAT workflow. You can set `username` and `password` via environment variables shown below. If you don't specify those variables, the default `username` and `password` will be `onepaneladmin` + + ## Setting up environment variables In order to use several features of CVAT such as training an annotaiton model we need to set some environment variables. You can easily set environment variables by clicking Settings button on top nav bar. This will open up a settings page, where you can set environment variables. Following is an example of setting an environment variable. @@ -134,6 +139,8 @@ You need to set following environment variables: - **ONEPANEL_OD_TEMPLATE_ID**: Template ID for Tensorflow Object Detection. Required only if you are training a new annotation model. - **ONEPANEL_MASKRCNN_TEMPLATE_ID**: Template ID for MaskRCNN Segmentation. Required only if you are training a new annotation model. - **ONEPANEL_AUTHORIZATION**: Token/password for Onepanel login. +- **DJANGO_SUPERUSER_USERNAME**: Username for the superuser. +- **DJANGO_SUPERUSER_PASSWORD**: Password for the superuser. ## Creating new tasks