Giter Site home page Giter Site logo

datalab's Introduction

Cavorit DataLab

Parameterized Jupyter Frontend

Install and run in Production

pip install datalab-on-jupyter
jupyter serverextension enable datalab_on_jupyter
jupyter datalab

Development

yarn

Inside jupyter-extension dir you can install the extension locally.

cd jupyter-extension
pip install -e .

to enable the extension run:

jupyter serverextension enable datalab_on_jupyter

Start a jupyter server with datalab frontend, served from a webpack hot-reload capable dev server. Changes will update the page

jupyter datalab --dev

Build and run

yarn run build

After that you can run the extension in production mode. Assets will be served from jupyter directly, since there is no webpack server to serve the assets.

jupyter datalab

Deploy

You may want to change the Version first in jupyter-extension/datalab_on_jupyter/package.json

Build Frontend

cd jupyter-extension/datalab_on_jupyter
yarn run build

Build Extension

cd jupyterhub-extension
yarn run build:python

Deploy to PyPi

cd jupyterhub-extension
yarn run upload:pypi

Docker Container

Build the Container:

docker build -t mars.koppe.design/cavorit-datalab .

Push to Registry:

docker push mars.koppe.design/cavorit-datalab

Run from Registry:

docker run -d --rm -p 8888:8888 mars.koppe.design/cavorit-datalab start.sh jupyter datalab

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.