Use this application to deploy Cenit-IO Jupyter Notebook to heroku or CloudFoundry.
$ pip3 install notebook ipywidgets requests iso8601
$ gem install ffi-rzmq
$ gem install cztop
$ gem install iruby
$ git clone https://github.com/cenit-io/cenit-jupyter-notebooks.git
$ cd cenit-jupyter-notebooks
$ cp -ax .jupyter ~/
$ jupyter notebook --debug
Push this repository to your app or fork this repository on github and link your repository to your heroku app.
$ git clone https://github.com/cenit-io/cenit-jupyter-notebooks.git
$ cd cenit-jupyter-notebooks
$ heroku apps:create <your_app>
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-apt
$ heroku buildpacks:set https://github.com/pl31/heroku-buildpack-conda.git
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-ruby.git
$ heroku config:set CENITIO_BASE_URL='https://cenit.io' -a <your_app>
CENITIO_BASE_URL: (Used in Jupyter App) Set Cenit-IO base url.//cenit.ioJUPYTER_NOTEBOOK_ARGS: (Used in Jupyter App) Additional command line args passed tojupyter notebook; e.g. get a more verbose logging using--debugJUPYTER_NOTEBOOKS: (Used in Cenit-IO App) Enable or disable notebooks in Cenit-IO. e.g.TrueJUPYTER_NOTEBOOKS_URL: (Used in Cenit-IO App) Set jupyter app url. e.g.//cenit-jupyter-notebooks.herokuapp.com