Commit 64241863 authored by Sebastian's avatar Sebastian

first modifications, symlinks not working yet

parent 32459e14
......@@ -5,12 +5,18 @@ parts =
erp5-kernel
kernel-json
custom-js
renderjs-extension-symlink
eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
[renderjs-extension-symlink]
recipe = cns.recipe.symlink
symlink = {{ renderjs_extension_location }}/renderjs_nbextension/renderjs_nbextension = ${directory:jupyter_data_dir}
autocreate = true
[slapconfiguration]
recipe = slapos.cookbook:slapconfiguration.serialised
computer = ${slap-connection:computer-id}
......@@ -93,6 +99,11 @@ notebook_dir = ${:var}/notebooks
ipython_dir = ${:home}/ipython
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_config_dir = ${:home}/jupyter_config
jupyter_nbconfig_dir = ${:home}/jupyter_config/nbconfig
[publish-connection-parameter]
recipe = slapos.cookbook:publish.serialised
......
......@@ -8,10 +8,19 @@ extends =
../../component/pandas/buildout.cfg
../../component/openssl/buildout.cfg
../../component/seaborn/buildout.cfg
../../component/git/buildout.cfg
parts =
slapos-cookbook
ipython-notebook
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]
; In the ipython notebook software, we use more eggs than in the minimal
......@@ -65,7 +74,7 @@ recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/template.cfg
mode = 0644
md5sum = 26a28b74c8b18c92108c751b87abe80c
md5sum = d2c9b1d4895962b20b4a1e38f7bca014
context =
key bin_directory buildout:bin-directory
key develop_eggs_directory buildout:develop-eggs-directory
......@@ -82,6 +91,7 @@ context =
key kernel_json_filename kernel-json:filename
key custom_js_location custom-js:location
key custom_js_filename custom-js:filename
key renderjs_extension_location renderjs-extension:location
[versions]
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