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
64241863
Commit
64241863
authored
Jan 17, 2017
by
Sebastian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first modifications, symlinks not working yet
parent
32459e14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
software/ipython_notebook/instance.cfg.in
software/ipython_notebook/instance.cfg.in
+11
-0
software/ipython_notebook/software.cfg
software/ipython_notebook/software.cfg
+11
-1
No files found.
software/ipython_notebook/instance.cfg.in
View file @
64241863
...
...
@@ -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
...
...
software/ipython_notebook/software.cfg
View file @
64241863
...
...
@@ -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
...
...
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