2012-05-11 26 views
6

Qualcuno ha fatto l'esperienza di distribuire un notebook IPython su Heroku. Non trovo alcuna informazione al riguardo.Notebook IPython su Heroku

Qualcuno può spiegarmi come impostare un notebook su Heroku? Grazie. :)

+1

Due cose sono necessarie per il Notebook IPython: WebSockets e ZeroMQ/PyZMQ. Sono entrambi disponibili su Heroku? – minrk

+0

Ho provato a installare ZeroMQ/PyZMQ e non è stato possibile, quindi penso di essere sfortunato con Heroku. – verbit

+0

Immagino sia così che va. Il notebook funziona alla grande su EC2 ed è banale da usare con [starcluster] (http://web.mit.edu/star/cluster/). – minrk

risposta

1

Vedi http://nbviewer.ipython.org/, è ospitato su Heroku:

$ host nbviewer.ipython.org 
nbviewer.ipython.org is an alias for nbviewer.herokuapp.com. 
nbviewer.herokuapp.com has address 107.22.226.64 

si può anche accedere ai propri notebook lì. Si veda ad esempio questo tutorial NumPy: http://nbviewer.ipython.org/2847673/

E, naturalmente, il molto cool XKCD biblioteca tramando: http://nbviewer.ipython.org/url/jakevdp.github.com/downloads/notebooks/XKCD_plots.ipynb

+6

Si noti che nbviewer esegue viste statiche dei blocchi note, non l'intera esperienza modificabile interattiva. –

Problemi correlati