Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Commit 0a85011

Browse files
committed
include example config
1 parent 7a8a8c6 commit 0a85011

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

jupyter_notebook_config.py.example

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,19 @@
33

44
print("Welcome to the bookstore 📚")
55

6-
from bookstore import BookstoreContentsArchiver
6+
from bookstore import BookstoreContentsArchiver, BookstoreSettings
77

8+
# jupyter config
9+
# At ~/.jupyter/jupyter_notebook_config.py for user installs
10+
# At __ for system installs
811
c = get_config()
912

1013
c.NotebookApp.contents_manager_class = BookstoreContentsArchiver
14+
15+
c.BookstoreSettings.workspace_prefix = "works"
16+
17+
# If using minio for development
18+
c.BookstoreSettings.s3_endpoint_url = "http://127.0.0.1:9000"
19+
c.BookstoreSettings.s3_bucket = "bookstore"
20+
c.BookstoreSettings.s3_access_key_id = "4MR9ON7H4UNVCT2LQTFX"
21+
c.BookstoreSettings.s3_secret_access_key = "o8CnAN5G9x87P9aLxSjohoSV0EsCLjksuY6wjK9N"

0 commit comments

Comments
 (0)