# Deploy jupyter notebook for web

**URL:** <https://discourse.jupyter.org/t/deploy-jupyter-notebook-for-web/9132>\
**Category:** discuss\
**Created:** [May 10, 2021, 10:47am UTC](https://discourse.jupyter.org/t/deploy-jupyter-notebook-for-web/9132 "2021-05-10T10:47:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wesley\_Melo](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/wesley_melo/32/4382_2.png) [@Wesley\_Melo](https://discourse.jupyter.org/u/Wesley_Melo)\
**Post date:** [May 10, 2021, 10:47am UTC](https://discourse.jupyter.org/t/deploy-jupyter-notebook-for-web/9132/1 "2021-05-10T10:47:51Z")

</div>

I need to deploy a jupyter notebook application, but I need it to run as a web app. I’m using anaconda, so in my Dockerfile I’m pointing to the image of the docker conda. And I’m using voila to make it a web app. But I’m not getting it, because my application breaks, can someone help me or send me a tutorial please?

---

<div class="post-metadata">

**Author:** ![manics](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/manics/32/85_2.png) [@manics](https://discourse.jupyter.org/u/manics)\
**Post date:** [May 10, 2021, 2:25pm UTC](https://discourse.jupyter.org/t/deploy-jupyter-notebook-for-web/9132/2 "2021-05-10T14:25:24Z")

</div>

Hi! Jupyter notebook and JupyterLab are already web applications.

Please could you provide a bit more information on what you want to do? You may find this post helpful:

> [@Getting good answers to your questions](https://discourse.jupyter.org/t/getting-good-answers-to-your-questions/1825):
>
> Eventually you will get stuck when trying to do something. This post is about how to get help with getting unstuck. People love helping others. Below some tips on how to, in my experience, improve your chances of getting a good answer. The answers you get will depend very much on the way you ask your question. Most people like hard problems and thought-provoking questions. So give them an interesting question to chew on, and they will love it. What are the hurdles to getting a good answer? Peo…

---

<div class="post-metadata">

**Author:** ![Wesley\_Melo](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/wesley_melo/32/4382_2.png) [@Wesley\_Melo](https://discourse.jupyter.org/u/Wesley_Melo)\
**Post date:** [May 10, 2021, 2:43pm UTC](https://discourse.jupyter.org/t/deploy-jupyter-notebook-for-web/9132/3 "2021-05-10T14:43:52Z")

</div>

Helo! I need to create a jupyter notebook web, for other people to access this notebook, but without the part of the code, so that they see only the plots …  
so i decided to use voila, but i can’t deploy to heroku.  
When I used only pip packages, it worked. but I used fbprophet and fbprophet doesn’t work well with pip, so I used the conda.  
in short, I need to deploy my application so that it can be accessed by a URL.  
Sorry my English, I speak Russian. : /

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [May 10, 2021, 9:30pm UTC](https://discourse.jupyter.org/t/deploy-jupyter-notebook-for-web/9132/4 "2021-05-10T21:30:43Z")

</div>

You can use conda with Voila, too. If you go to the [Voila gallery](https://voila-gallery.org/) project, and click on the ‘render-stl’ box, you’ll get a session for Voila. (You can get back the the Dashboard from there by changing the URL. You delete `voila/render/index.ipynb` and rest of text to the right and replace that with `tree`. From there you can get to the `index.ipynb` notebook.) The environment for that is dictated by [environment.yml](https://github.com/voila-gallery/render-stl/blob/8d24ce5e8c2b5d7b8b4e3a909290dee2eef84f57/environment.yml). That gets built by conda. I suggest you fork this repo and add your conda packages to your forked `environment.yml`, and then use an adjusted link to launch your session from your new repo. (The links I have in the markdown code [here](https://github.com/fomightez/communication_voila/blob/0d2d64826a0cd3692fbc34ecb5f2816ec2ec14f4/README.md) may help you in seeing how you construct those to your [mybinder.org](http://mybinder.org).) Trying that may provide you with some feedback as to whether your packages get installed with no issues, independent from your own system. It should at least give you an idea of what you may need to troubleshoot things on your own server.

Also, appmode works with conda. See last section [here](https://github.com/oschuett/appmode#installation). You may have better luck using that where you are trying to host?

---

<div class="post-metadata">

**Author:** ![Wesley\_Melo](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/wesley_melo/32/4382_2.png) [@Wesley\_Melo](https://discourse.jupyter.org/u/Wesley_Melo)\
**Post date:** [May 10, 2021, 9:59pm UTC](https://discourse.jupyter.org/t/deploy-jupyter-notebook-for-web/9132/5 "2021-05-10T21:59:36Z")

</div>

I’m trying to host on Heroku… I even managed it with buildpack’s, but It went over the 500MB limit, so I decided to use docker. But I could not…  
I tried to use Binder, but the link generated was temporary and every new user who opened the link had to wait for the deployment again…  
I will try to follow what happened to me, thanks for the reply.

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [May 11, 2021, 3:56pm UTC](https://discourse.jupyter.org/t/deploy-jupyter-notebook-for-web/9132/6 "2021-05-11T15:56:03Z")

</div>

If you post a link to your repo, I can advise on the Binder stuff.  
The launch process for Binder shouldn’t take too long once it is built. Every time you push a change though the build will be required again. You can try the links I sent you for examples of how to construct the proper link. That will give you a sense of how fast the session spinning up should be and the time to see your Voila app.

---

<div class="post-metadata">

**Author:** ![Wesley\_Melo](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/wesley_melo/32/4382_2.png) [@Wesley\_Melo](https://discourse.jupyter.org/u/Wesley_Melo)\
**Post date:** [May 11, 2021, 11:21pm UTC](https://discourse.jupyter.org/t/deploy-jupyter-notebook-for-web/9132/7 "2021-05-11T23:21:41Z")

</div>

Thanks!!! 😃 After following the tutorial it worked
