Commit 64241863 authored by Sebastian's avatar Sebastian

first modifications, symlinks not working yet

parent 32459e14
...@@ -5,12 +5,18 @@ parts = ...@@ -5,12 +5,18 @@ parts =
erp5-kernel erp5-kernel
kernel-json kernel-json
custom-js custom-js
renderjs-extension-symlink
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]
recipe = cns.recipe.symlink
symlink = {{ renderjs_extension_location }}/renderjs_nbextension/renderjs_nbextension = ${directory:jupyter_data_dir}
autocreate = true
[slapconfiguration] [slapconfiguration]
recipe = slapos.cookbook:slapconfiguration.serialised recipe = slapos.cookbook:slapconfiguration.serialised
computer = ${slap-connection:computer-id} computer = ${slap-connection:computer-id}
...@@ -93,6 +99,11 @@ notebook_dir = ${:var}/notebooks ...@@ -93,6 +99,11 @@ notebook_dir = ${:var}/notebooks
ipython_dir = ${:home}/ipython ipython_dir = ${:home}/ipython
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
jupyter_data_dir = ${:home}/jupyter_data
jupyter_config_dir = ${:home}/jupyter_config
jupyter_nbconfig_dir = ${:home}/jupyter_config/nbconfig
[publish-connection-parameter] [publish-connection-parameter]
recipe = slapos.cookbook:publish.serialised recipe = slapos.cookbook:publish.serialised
......
...@@ -8,10 +8,19 @@ extends = ...@@ -8,10 +8,19 @@ extends =
../../component/pandas/buildout.cfg ../../component/pandas/buildout.cfg
../../component/openssl/buildout.cfg ../../component/openssl/buildout.cfg
../../component/seaborn/buildout.cfg ../../component/seaborn/buildout.cfg
../../component/git/buildout.cfg
parts = parts =
slapos-cookbook slapos-cookbook
ipython-notebook ipython-notebook
instance-jupyter instance-jupyter
renderjs-extension
[renderjs-extension]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
repository = https://lab.nexedi.com/Kreisel/renderjs_extension.git
branch = master
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[ipython-notebook] [ipython-notebook]
; In the ipython notebook software, we use more eggs than in the minimal ; In the ipython notebook software, we use more eggs than in the minimal
...@@ -65,7 +74,7 @@ recipe = slapos.recipe.template:jinja2 ...@@ -65,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 = 26a28b74c8b18c92108c751b87abe80c md5sum = d2c9b1d4895962b20b4a1e38f7bca014
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
...@@ -82,6 +91,7 @@ context = ...@@ -82,6 +91,7 @@ context =
key kernel_json_filename kernel-json:filename key kernel_json_filename kernel-json:filename
key custom_js_location custom-js:location key custom_js_location custom-js:location
key custom_js_filename custom-js:filename key custom_js_filename custom-js:filename
key renderjs_extension_location renderjs-extension:location
[versions] [versions]
PyRSS2Gen = 1.1 PyRSS2Gen = 1.1
......
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