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
Klaus Wölfel
slapos
Commits
7937cdb4
Commit
7937cdb4
authored
Jun 05, 2015
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added configuration.erp5_url as a parameter for slapconfiguration in ipython notebook
parent
7bd79e3d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
software/ipython_notebook/instance.cfg
software/ipython_notebook/instance.cfg
+3
-2
software/ipython_notebook/software.cfg
software/ipython_notebook/software.cfg
+1
-1
software/ipython_notebook/template/ERP5kernel.py.jinja
software/ipython_notebook/template/ERP5kernel.py.jinja
+1
-1
No files found.
software/ipython_notebook/instance.cfg
View file @
7937cdb4
...
...
@@ -39,6 +39,7 @@ partition = $${slap_connection:partition_id}
url = $${slap_connection:server_url}
key = $${slap_connection:key_file}
cert = $${slap_connection:cert_file}
configuration.erp5_url = https://softinst60318.host.vifib.net/erp5/Base_executePython
[instance-parameter]
port = 8888
...
...
@@ -128,16 +129,16 @@ erp5_kernel_dir = $${:ipython_kernel_dir}/ERP5
recipe = slapos.cookbook:publish
url = https://[$${instance-parameter:host}]:$${instance-parameter:port}
monitor_url = $${monitor-parameters:url}
erp5_url = $${slapconfiguration:configuration.erp5_url}
[erp5-kernel]
recipe = slapos.recipe.template:jinja2
template = ${erp5-kernel:location}/${erp5-kernel:filename}
rendered = $${directory:erp5_kernel_dir}/ERP5kernel.py
erp5_url = https://softinst60318.host.vifib.net/erp5/Base_executePython
mode = 0744
context =
raw python_executable ${buildout:bin-directory}/pythonwitheggs
key erp5_url
:
erp5_url
key erp5_url
slapconfiguration:configuration.
erp5_url
[kernel-json]
recipe = slapos.recipe.template:jinja2
...
...
software/ipython_notebook/software.cfg
View file @
7937cdb4
...
...
@@ -55,7 +55,7 @@ output = ${buildout:directory}/instance.cfg
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
download-only = true
md5sum =
0e9c5070725c3a10125a9b658bd4eb5c
md5sum =
8a9703fc069301c6faac2800bd4b54b8
destination = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = ERP5kernel.py.jinja
mode = 0644
...
...
software/ipython_notebook/template/ERP5kernel.py.jinja
View file @
7937cdb4
...
...
@@ -6,7 +6,7 @@ from IPython.core.display import HTML
import requests
import logging
global
erp5_url = "{{ erp5_url }}"
erp5_url = "{{ erp5_url }}"
class ERP5Kernel(Kernel):
implementation = 'ERP5'
...
...
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