Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian
slapos
Commits
4bb22168
Commit
4bb22168
authored
Jan 18, 2017
by
Sebastian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
symlinking works
parent
64241863
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
4 deletions
+21
-4
software/ipython_notebook/instance.cfg.in
software/ipython_notebook/instance.cfg.in
+20
-3
software/ipython_notebook/software.cfg
software/ipython_notebook/software.cfg
+1
-1
No files found.
software/ipython_notebook/instance.cfg.in
View file @
4bb22168
...
@@ -5,16 +5,31 @@ parts =
...
@@ -5,16 +5,31 @@ parts =
erp5-kernel
erp5-kernel
kernel-json
kernel-json
custom-js
custom-js
renderjs-extension-symlink
renderjs-symlink-nbextension
renderjs-symlink-nbconfig
renderjs-symlink-ipyextension
eggs-directory = {{ eggs_directory }}
eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
offline = true
[renderjs-
extension-symlink
]
[renderjs-
symlink-nbextension
]
recipe = cns.recipe.symlink
recipe = cns.recipe.symlink
symlink = {{ renderjs_extension_location }}/renderjs_nbextension/renderjs_nbextension = ${directory:jupyter_data_dir}
#symlink = {{ renderjs_extension_location }}/renderjs_nbextension/renderjs_nbextension = ${directory:jupyter_data_dir}
#symlink = /srv/slapgrid/slappart10/srv/runner/link_from = /srv/slapgrid/slappart10/srv/runner/instance/slappart0/link_to
#symlink = /srv/slapgrid/slappart10/srv/runner/link_from = ${directory:jupyter_nbext_dir}/renderjs-nbextension
symlink = {{ renderjs_extension_location }}/renderjs_nbextension/renderjs_nbextension = ${directory:jupyter_nbext_dir}/renderjs-nbextension
autocreate = true
[renderjs-symlink-nbconfig]
recipe = cns.recipe.symlink
symlink = {{ renderjs_extension_location }}/renderjs_nbextension/renderjs_nbextension/notebook.json = ${directory:jupyter_nbconfig_dir}/notebook.json
autocreate = true
[renderjs-symlink-ipyextension]
recipe = cns.recipe.symlink
symlink = {{ renderjs_extension_location }}/renderjs_ipyextension/renderjs_ipyextension/renderjs_extension.py = ${directory:ipython_extension_dir}/renderjs_extension.py
autocreate = true
autocreate = true
[slapconfiguration]
[slapconfiguration]
...
@@ -97,10 +112,12 @@ log = ${:var}/log
...
@@ -97,10 +112,12 @@ log = ${:var}/log
notebook_dir = ${:var}/notebooks
notebook_dir = ${:var}/notebooks
# Add folders to explicitly define ipython directory
# Add folders to explicitly define ipython directory
ipython_dir = ${:home}/ipython
ipython_dir = ${:home}/ipython
ipython_extension_dir = ${:ipython_dir}/extensions
ipython_kernel_dir = ${:ipython_dir}/kernels
ipython_kernel_dir = ${:ipython_dir}/kernels
erp5_kernel_dir = ${:ipython_kernel_dir}/ERP5
erp5_kernel_dir = ${:ipython_kernel_dir}/ERP5
# Add folders to explicitly define jupyter [config/data] directories
# Add folders to explicitly define jupyter [config/data] directories
jupyter_data_dir = ${:home}/jupyter_data
jupyter_data_dir = ${:home}/jupyter_data
jupyter_nbext_dir = ${:home}/jupyter_data/nbextensions
jupyter_config_dir = ${:home}/jupyter_config
jupyter_config_dir = ${:home}/jupyter_config
jupyter_nbconfig_dir = ${:home}/jupyter_config/nbconfig
jupyter_nbconfig_dir = ${:home}/jupyter_config/nbconfig
...
...
software/ipython_notebook/software.cfg
View file @
4bb22168
...
@@ -74,7 +74,7 @@ recipe = slapos.recipe.template:jinja2
...
@@ -74,7 +74,7 @@ recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/template.cfg
rendered = ${buildout:directory}/template.cfg
mode = 0644
mode = 0644
md5sum =
d2c9b1d4895962b20b4a1e38f7bca014
md5sum =
b8feb9e154407243b920b2bcdd2242a9
context =
context =
key bin_directory buildout:bin-directory
key bin_directory buildout:bin-directory
key develop_eggs_directory buildout:develop-eggs-directory
key develop_eggs_directory buildout:develop-eggs-directory
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment