jupyterhub / mybinder.org-user-guide

Turn a Git repo into a collection of interactive notebooks. This is Binder's user documentation repository.
https://mybinder.readthedocs.io
BSD 3-Clause "New" or "Revised" License
159 stars 103 forks source link

Build was successful but pages failed to load #158

Closed fywu85 closed 5 years ago

fywu85 commented 5 years ago

Hi, I was trying to build my project using the following configuration:

binder_01

The project was successfully built and the preview is as expected:

binder_02

However, after launching server, I got the following 404 error:

binder_03

Any pointer to how might I fix the problem? For your reference, you may find the source I used here. Thanks!

betatim commented 5 years ago

Take a look at what you get when you launch it without specifying a directory: https://mybinder.org/v2/gh/flow-project/flow/binder

It looks like your repository has a custom Dockerfile in it so probably something there doesn't get done as you expect it to work. We recommend against having your own Dockerfile as most people don't need one so the added complexity of having to manage one isn't worth it.

I'll close this issue as there doesn't seem to be anything wrong with mybinder.org/BinderHub itself. Let's move the discussion to http://discourse.jupyter.org/c/questions which is where we are directing all support questions and discussions now. It is more discoverable and accessible (bigger community of people able to help out) than GitHub issues.

choldgraf commented 5 years ago

(specifically, you probably want to check out this page: https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html)