Install and enable jupyter_nbgallery on your Jupyter server
pip install jupyter_nbgallery -U
jupyter serverextension enable --py jupyter_nbgallery
jupyter nbextension install --py jupyter_nbgallery
jupyter nbextension enable jupyter_nbgallery --py
Check out this repo on your Jupyter server, install from source, and enable it
# cd into the directory you checked out this project
pip install -e .
jupyter serverextension enable --py jupyter_nbgallery
jupyter nbextension install --py jupyter_nbgallery
jupyter nbextension enable jupyter_nbgallery --py
A good walkthrough for deploying to PyPi can be found here: http://peterdowns.com/posts/first-time-with-pypi.html