You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "cdmikechen (Jira)" <ji...@apache.org> on 2021/12/17 02:53:00 UTC

[jira] [Commented] (SUBMARINE-1127) Jupyter Notebook can add a env to support initing some config

    [ https://issues.apache.org/jira/browse/SUBMARINE-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17461168#comment-17461168 ] 

cdmikechen commented on SUBMARINE-1127:
---------------------------------------

There is a preview commit in [https://github.com/shangyuantech/submarine/commit/5e8c5b72abd2cadd44618f75d332a1b231818224]

There are some conflicts about PR [https://github.com/apache/submarine/pull/834] , so I need to wait until the previous PR is merged.

> Jupyter Notebook can add a env to support initing some config
> -------------------------------------------------------------
>
>                 Key: SUBMARINE-1127
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-1127
>             Project: Apache Submarine
>          Issue Type: Improvement
>          Components: Workbench Notebook
>            Reporter: cdmikechen
>            Priority: Minor
>
> 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*.
> {code:json}
> {
>   "@jupyterlab/translation-extension:plugin": {
>     "locale": "zh_CN"
>   }
> }
> {code}
> After this configuration, the new logging will be displayed in Chinese by default.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org