Code Monkey home page Code Monkey logo

Comments (6)

jhpedemonte avatar jhpedemonte commented on July 20, 2024

Currently, we are doing the following with Node and Bower:

  1. Running autoprefixer on our CSS.
  2. Installing Gridstack.js and Require.js libraries.

We're unsure how to best update the Makefile to do this before running the actual command in Docker. Do we want to create a script that gets run as the $(CMD), to run the above before starting the Notebook server?

from dashboards.

parente avatar parente commented on July 20, 2024

I was thinking it would just be a separate make target (make js? frontend?) that runs in a container instance that has the host mount. It does its thing. Then there's make dev that just assumes the other one has already run. The former could easily be a dep on the target of the latter like (psuedo code):

js:
    docker run -v `pwd`:/src $(IMAGE) npm install

dev: js
    docker run -v ... $(IMAGE)

from dashboards.

jhpedemonte avatar jhpedemonte commented on July 20, 2024

OK, makes sense.

In Makefile, while some targets are using cloudet/pyspark-notebook-bower as the image, most are using jupyter/pyspark-notebook:3.2, which contains neither node nor bower. Should we switch all to use cloudet/pyspark-notebook-bower?

from dashboards.

dalogsdon avatar dalogsdon commented on July 20, 2024

Created PR #47 to add a js Makefile target.

from dashboards.

parente avatar parente commented on July 20, 2024

Need to switch to the one image other Travis becomes 😒 with the two image pulls.

from dashboards.

jhpedemonte avatar jhpedemonte commented on July 20, 2024

So should we change all images in Makefile to use the *-bower image? It's just a very small wrapper around the pyspark image.

from dashboards.

Related Issues (20)

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.