Uploaded image for project: 'Apache Submarine'
  1. Apache Submarine
  2. SUBMARINE-1127

Jupyter Notebook can add a env to support initing some config

    XMLWordPrintableJSON

Details

    Description

      Jupyter Notebook have created a workspace volume /home/jovyan/workspace, but in some cases, we may need to do some initialization configuration when starting notebook. For example, we can configure an overrides.json in /opt/conda/share/jupyter/lab/settings/.
      We can refer to the official document of jupyter about overrides.json.
      https://jupyterlab.readthedocs.io/en/stable/user/directories.html#overrides-json

      Assuming that the user of submarine needs to specify the language of the initialized notebook to Chinese, we can write this in overrides.json.

      {
        "@jupyterlab/translation-extension:plugin": {
          "locale": "zh_CN"
        }
      }
      

      After this configuration, the new logging will be displayed in Chinese by default.

      Attachments

        Issue Links

          Activity

            People

              chenxiang cdmikechen
              chenxiang cdmikechen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: