Commit 4bb22168 authored by Sebastian's avatar Sebastian

symlinking works

parent 64241863
......@@ -5,16 +5,31 @@ parts =
erp5-kernel
kernel-json
custom-js
renderjs-extension-symlink
renderjs-symlink-nbextension
renderjs-symlink-nbconfig
renderjs-symlink-ipyextension
eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
[renderjs-extension-symlink]
[renderjs-symlink-nbextension]
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
[slapconfiguration]
......@@ -97,10 +112,12 @@ log = ${:var}/log
notebook_dir = ${:var}/notebooks
# Add folders to explicitly define ipython directory
ipython_dir = ${:home}/ipython
ipython_extension_dir = ${:ipython_dir}/extensions
ipython_kernel_dir = ${:ipython_dir}/kernels
erp5_kernel_dir = ${:ipython_kernel_dir}/ERP5
# Add folders to explicitly define jupyter [config/data] directories
jupyter_data_dir = ${:home}/jupyter_data
jupyter_nbext_dir = ${:home}/jupyter_data/nbextensions
jupyter_config_dir = ${:home}/jupyter_config
jupyter_nbconfig_dir = ${:home}/jupyter_config/nbconfig
......
......@@ -74,7 +74,7 @@ recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/template.cfg
mode = 0644
md5sum = d2c9b1d4895962b20b4a1e38f7bca014
md5sum = b8feb9e154407243b920b2bcdd2242a9
context =
key bin_directory buildout:bin-directory
key develop_eggs_directory buildout:develop-eggs-directory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment