In short:
- Download the notebook as an html file
- Make a repo on github with a specific name and push the html file to that repo
-
Get an html file to publish
- Restart the kernel and run the notebook from top to bottom
- From the jupyter notebook dowload as an html file
-
Make a repo on github that will be your internet site
Github Pages is a free service that github offers to host your websites. To get started:
- Create a repo on github named exactly
yourusername.github.io
(replaceyourusername
with your github username). - Create a repository locally and wire it up to the one you created on github.
Anything you push to this repository will be live on the internet at
- Create a repo on github named exactly
-
Add content and make the site live
- Copy over the html file you created from the notebook into the new repository.
- Name the html file index.html (whichever file is named index.html is the "landing page" for your site)
- Add, commit, and push the index.html file
You should now be able to see your site live!, go to https://yourusername.github.io/ to see it! (it might take 1-5 minutes after pushing for the site to update)