-
Notifications
You must be signed in to change notification settings - Fork 28
Notebook Storage Options for Cuelake
vincue edited this page May 13, 2021
·
8 revisions
Go to /zeppelin/ and place you git repo:
git clone <remote repo> Go to file /zeppelin/conf/zeppelin-conf.xml and add:
<property>
<name>zeppelin.notebook.git.remote.access-token</name>
<value>YOUR_TOKEN</value>
<description>from https://github.com/settings/tokens</description>
</property>
<property>
<name>zeppelin.notebook.git.remote.origin</name>
<value>org.apache.zeppelin.notebook.repo.GitHubNotebookRepo</value>
<description>notebook persistence layer implementation</description>
</property>
<property>
<name>zeppelin.notebook.dir</name>
<value>YOUR_GIT_CLONED_DIRECTORY</value>
<description>notebook persistence layer implementation</description>
</property>
<property>
<name>zeppelin.notebook.git.remote.username</name>
<value>GITHUB_USERNAME</value>
<description>remote Git repository username</description>
</property>For auto push on commit:
Go to your local repo, in the .git/hooks folder, and create a post-commit file, make it executable chmod +x filename, and add:
#!/bin/sh
git push origin masterFor changing commit button on notebook to commit all:
Go to your local repo, in the .git/hooks folder, and create a pre-commit file, make it executable chmod +x filename, and add:
#!/bin/sh
git add -A