Developer Guide

Follow the following 3 steps:

You are now ready to build.

# Useful build and run commands.
make build     # Build the needed binaries and libs.
make k8s-proxy # Start the Kubernetes Proxy.
make api-start # Start the API Server and hack on it.

Browse http://localhost:9091 or make REST call to the API.

cd $DLAHOME/repos/jupyterhub
python sdist upload -r pypi
cd $DLAHOME/repos/jupyterhub-k8s
python sdist && cp dist/datalayer-0.9.1.dev0.tar.gz $DLAHOME/repos/jupyterhub-k8s/images/hub
cd $DLAHOME/repos/jupyterlab-hub
yarn install && yarn build
npm login
npm publish --access=public
cd $DLAHOME/repos/jupyterhub/images/hub
docker build -t datalayer/hub:0.0.1 . && \
  docker tag datalayer/hub:0.0.1 localhost:5000/hub:0.0.1 && docker push localhost:5000/hub:0.0.1
cd $DLAHOME/repos
tar cvfz $DLAHOME/etc/docker/jupyterlab/jupyterlab-datalayer.tgz jupyterlab-datalayer
cd $DLAHOME/repos/datalayer-docker/hub-jupyterlab
docker build -t datalayer/hub-jupyterlab:0.0.1 . && \
  docker tag datalayer/hub-jupyterlab:0.0.1 localhost:5000/hub-jupyterlab:0.0.1 && \
  docker push localhost:5000/hub-jupyterlab:0.0.1
minikube ssh docker pull localhost:5000/hub-jupyterlab:0.0.1
cd $DLAHOME/repos/jupyterhub-k8s
helm delete datalayer --purge
helm install ./jupyterhub \
  --name=datalayer \
  --namespace=datalayer \
  --timeout=99999 \
  -f datalayer-config.yaml
open $(minikube -n datalayer service proxy-public --url)
cd $DLAHOME/repos/jupyterlab
yarn watch
cd $DLAHOME/repos/jupyterlab
jupyter lab --watch
jupyter lab --dev-mode --watch

results matching ""

    No results matching ""