title: How do I embed an Ipython Notebook in an iframe (new)
body: <p>I have successfully achieved this using the method documented at <a href="https://stackoverflow.com/questions/25327403/run-ipython-notebook-in-iframe-from-another-domain">Run IPython Notebook in Iframe from another Domain</a> . However, this required editing the user config file. I was really hoping to be able to set this up via the command-line instead (for reasons).</p>
  
  <p><a href="http://ipython.org/ipython-doc/1/config/overview.html" rel="nofollow noreferrer">http://ipython.org/ipython-doc/1/config/overview.html</a> indicates that configuration via the command line is possible. However, all the examples are for simple true/false value assignment. To set the server up to allow embedding, it is necessary to set a value inside a dictionary. I can't work out how to pass a <em>dictionary</em> in through the command-line.</p>
  
  <p>Another acceptable option would be a configuration overrides file.</p>
  
  <p>Some people will wonder -- why all this trouble!?!</p>
  
  <p>First of all, this isn't for production. I'm trying to support non-developers by writing a web-based application which integrates Ipython notebooks within it using iframes. Despite being on the same machine, it appears that the different port number used is enough to mean that I can't do simple iframe embedding without setting the x-frame insecurity bit. </p>
  
  <p>Being able to do this via the command line lets me set the behaviour in the launch script rather than having to bundle a special configuration file inside my app, and also write an installer. </p>
  
  <p>I really hope I've make the question clear enough! Thanks for any and all suggestions and help!</p>